#BEB12F#BEB12F

#BEB12F is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.9% C 0.143 H 103.4°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#BEB12F
RGBrgb(190, 177, 47)
HSLhsl(55, 60%, 46%)
HSVhsv(55, 75%, 75%)
CMYKcmyk(0%, 6.8%, 75.3%, 25.5%)
CIE-LABlab(71.28, -9.58, 63.57)
CIE-LCHlch(71.28, 64.29, 98.57°)
OKLaboklab(74.91% -0.0333 0.1394)
OKLCHoklch(74.91% 0.143 103.4)
XYZxyz(37.4721, 42.5982, 8.9372)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB12F #2F3CBE
analogous
#BE692F #BEB12F #84BE2F
triadic
#BEB12F #2FBEB1 #B12FBE
tetradic
#BEB12F #2FBE69 #2F3CBE #BE2F84
square
#BEB12F #2FBE69 #2F3CBE #BE2F84
split-complementary
#BEB12F #2F84BE #692FBE
monochromatic
#5C5617 #8D8323 #BEB12F #D5C955 #E1D986

Accessibility & contrast

On white

2.21
#BEB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#BEB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB12F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB12F#FFFFFF#000000##000000
##BEB12F1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB13
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#CDA498
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #beb12f;
/* rgb */ color: rgb(190, 177, 47);
/* oklch */ color: oklch(74.9% 0.143 103.4);
Tailwind
colors: {
  custom: {
    50: '#d5c772',
    500: '#beb12f',
    950: '#000000',
  },
}
SCSS
$custom: #beb12f;
$custom-light: #d5c772;
$custom-dark: #000000;
JSON
{
  "hex": "#beb12f",
  "rgb": {
    "r": 190,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 54.545,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74915,
    "c": 0.14333,
    "h": 103.4
  },
  "luminance": 0.42597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BEB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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