#F2BE21

A color in the Orange, Brown family

#f2be21 is a color in the Orange, Brown family: RGB(242, 190, 33), HSL(45°, 89%, 54%), CMYK(0%, 21%, 86%, 5%). Closest named color: orange. Contrast is 1.73:1 on white and 12.16:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f2be21
RGBrgb(242 190 33)
RGB (legacy)rgb(242, 190, 33)
RGB %rgb(95% 75% 13%)
HSLhsl(45 89% 54%)
HSV / HSBhsv(45, 86%, 95%)
HWBhwb(45 13% 5%)
CMYKcmyk(0%, 21%, 86%, 5%)
CIELAB (D50)lab(80.05 9.93 76.39)
LCHlch(80.05 77.03 82.59)
OKLaboklab(0.8255 0.0065 0.1623)
OKLCHoklch(0.8255 0.1624 87.71)
Decimal15908385

Properties

Color ToneOrange, Brown
Closest named colororange ΔE 6
Closest web-safe color#ffcc33
Hue45°
Saturation (HSL / HSV)89% / 86%
Lightness (HSL)54%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)74% / 74%
Relative luminance (WCAG)0.5581
Red / Green / Blue242 / 190 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.73:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.16:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 31 / -71.8 · As background with white / black text: Lc -34.8 / 72.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #f2be21;
  --color-brand-oklch: oklch(82.55% 0.1624 87.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 190 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f2be21] text-[#f2be21] border-[#f2be21]">