#BEB52E#BEB52E

#BEB52E is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.8% C 0.147 H 105.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#BEB52E
RGBrgb(190, 181, 46)
HSLhsl(56, 61%, 46%)
HSVhsv(56, 76%, 75%)
CMYKcmyk(0%, 4.7%, 75.8%, 25.5%)
CIE-LABlab(72.36, -11.69, 64.90)
CIE-LCHlch(72.36, 65.94, 100.21°)
OKLaboklab(75.77% -0.0393 0.1421)
OKLCHoklch(75.77% 0.147 105.5)
XYZxyz(38.2538, 44.1936, 9.0994)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB52E #2E37BE
analogous
#BE6D2E #BEB52E #7FBE2E
triadic
#BEB52E #2EBEB5 #B52EBE
tetradic
#BEB52E #2EBE6D #2E37BE #BE2E7F
square
#BEB52E #2EBE6D #2E37BE #BE2E7F
split-complementary
#BEB52E #2E7FBE #6D2EBE
monochromatic
#5B5716 #8D8622 #BEB52E #D6CD54 #E1DC85

Accessibility & contrast

On white

2.13
#BEB52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#BEB52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB52E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB52E#FFFFFF#000000##000000
##BEB52E1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C8B438
Tritanopia (blue-blind)
#CCA89C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #beb52e;
/* rgb */ color: rgb(190, 181, 46);
/* oklch */ color: oklch(75.8% 0.147 105.5);
Tailwind
colors: {
  custom: {
    50: '#d5ca72',
    500: '#beb52e',
    950: '#000000',
  },
}
SCSS
$custom: #beb52e;
$custom-light: #d5ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#beb52e",
  "rgb": {
    "r": 190,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 56.25,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7577,
    "c": 0.1474,
    "h": 105.5
  },
  "luminance": 0.44192
}

Semantic roles & 50–950 ramp

primary
#BEB52E
secondary
#7D82CB
accent
#4EE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BEB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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