#BEB02F#BEB02F

#BEB02F is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.7% C 0.142 H 102.9°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#BEB02F
RGBrgb(190, 176, 47)
HSLhsl(54, 60%, 46%)
HSVhsv(54, 75%, 75%)
CMYKcmyk(0%, 7.4%, 75.3%, 25.5%)
CIE-LABlab(71.01, -9.07, 63.32)
CIE-LCHlch(71.01, 63.96, 98.15°)
OKLaboklab(74.7% -0.0318 0.1389)
OKLCHoklch(74.7% 0.142 102.9)
XYZxyz(37.2753, 42.2047, 8.8716)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB02F #2F3DBE
analogous
#BE692F #BEB02F #85BE2F
triadic
#BEB02F #2FBEB0 #B02FBE
tetradic
#BEB02F #2FBE69 #2F3DBE #BE2F85
square
#BEB02F #2FBE69 #2F3DBE #BE2F85
split-complementary
#BEB02F #2F85BE #692FBE
monochromatic
#5C5517 #8D8323 #BEB02F #D5C855 #E1D886

Accessibility & contrast

On white

2.22
#BEB02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#BEB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB02F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB02F#FFFFFF#000000##000000
##BEB02F1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA14
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#CDA397
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #beb02f;
/* rgb */ color: rgb(190, 176, 47);
/* oklch */ color: oklch(74.7% 0.142 102.9);
Tailwind
colors: {
  custom: {
    50: '#d5c772',
    500: '#beb02f',
    950: '#000000',
  },
}
SCSS
$custom: #beb02f;
$custom-light: #d5c772;
$custom-dark: #000000;
JSON
{
  "hex": "#beb02f",
  "rgb": {
    "r": 190,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 54.126,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74701,
    "c": 0.14247,
    "h": 102.9
  },
  "luminance": 0.42203
}

Semantic roles & 50–950 ramp

primary
#BEB02F
secondary
#7E86CB
accent
#54E344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BEB02F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BEB02F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva