#BEB22F#BEB22F

#BEB22F is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.144 H 103.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#BEB22F
RGBrgb(190, 178, 47)
HSLhsl(55, 60%, 46%)
HSVhsv(55, 75%, 75%)
CMYKcmyk(0%, 6.3%, 75.3%, 25.5%)
CIE-LABlab(71.55, -10.10, 63.82)
CIE-LCHlch(71.55, 64.61, 99.00°)
OKLaboklab(75.13% -0.0348 0.1399)
OKLCHoklch(75.13% 0.144 103.9)
XYZxyz(37.6704, 42.9947, 9.0033)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB22F #2F3BBE
analogous
#BE6B2F #BEB22F #83BE2F
triadic
#BEB22F #2FBEB2 #B22FBE
tetradic
#BEB22F #2FBE6B #2F3BBE #BE2F83
square
#BEB22F #2FBE6B #2F3BBE #BE2F83
split-complementary
#BEB22F #2F83BE #6B2FBE
monochromatic
#5C5617 #8D8423 #BEB22F #D5CA55 #E1DA86

Accessibility & contrast

On white

2.19
#BEB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#BEB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB22F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB22F#FFFFFF#000000##000000
##BEB22F1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC13
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#CDA599
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #beb22f;
/* rgb */ color: rgb(190, 178, 47);
/* oklch */ color: oklch(75.1% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#d5c872',
    500: '#beb22f',
    950: '#000000',
  },
}
SCSS
$custom: #beb22f;
$custom-light: #d5c872;
$custom-dark: #000000;
JSON
{
  "hex": "#beb22f",
  "rgb": {
    "r": 190,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 54.965,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7513,
    "c": 0.14419,
    "h": 103.9
  },
  "luminance": 0.42993
}

Semantic roles & 50–950 ramp

primary
#BEB22F
secondary
#7E85CB
accent
#52E344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BEB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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