#BEB54B#BEB54B

#BEB54B is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.0% C 0.127 H 104.5°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#BEB54B
RGBrgb(190, 181, 75)
HSLhsl(55, 47%, 52%)
HSVhsv(55, 61%, 75%)
CMYKcmyk(0%, 4.7%, 60.5%, 25.5%)
CIE-LABlab(72.56, -10.10, 53.74)
CIE-LCHlch(72.56, 54.68, 100.64°)
OKLaboklab(76% -0.0318 0.1233)
OKLCHoklch(76% 0.127 104.5)
XYZxyz(39.0304, 44.5043, 13.1895)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB54B #4B54BE
analogous
#BE7B4B #BEB54B #8EBE4B
triadic
#BEB54B #4BBEB5 #B54BBE
tetradic
#BEB54B #4BBE7B #4B54BE #BE4B8E
square
#BEB54B #4BBE7B #4B54BE #BE4B8E
split-complementary
#BEB54B #4B8EBE #7B4BBE
monochromatic
#696426 #968E36 #BEB54B #CEC778 #DEDAA5

Accessibility & contrast

On white

2.12
#BEB54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#BEB54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB54B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB54B#FFFFFF#000000##000000
##BEB54B1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3F
Deuteranopia (green-blind)
#C7B451
Tritanopia (blue-blind)
#CBAA9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #beb54b;
/* rgb */ color: rgb(190, 181, 75);
/* oklch */ color: oklch(76.0% 0.127 104.5);
Tailwind
colors: {
  custom: {
    50: '#d4ca82',
    500: '#beb54b',
    950: '#000000',
  },
}
SCSS
$custom: #beb54b;
$custom-light: #d4ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#beb54b",
  "rgb": {
    "r": 190,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 55.304,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76001,
    "c": 0.1273,
    "h": 104.5
  },
  "luminance": 0.44503
}

Semantic roles & 50–950 ramp

primary
#BEB54B
secondary
#999DCC
accent
#5CD751
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BEB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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