#BEB52F#BEB52F

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

Color values

HEX#BEB52F
RGBrgb(190, 181, 47)
HSLhsl(56, 60%, 46%)
HSVhsv(56, 75%, 75%)
CMYKcmyk(0%, 4.7%, 75.3%, 25.5%)
CIE-LABlab(72.36, -11.65, 64.57)
CIE-LCHlch(72.36, 65.62, 100.23°)
OKLaboklab(75.78% -0.0391 0.1416)
OKLCHoklch(75.78% 0.147 105.4)
XYZxyz(38.2738, 44.2016, 9.2045)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB52F #2F38BE
analogous
#BE6E2F #BEB52F #80BE2F
triadic
#BEB52F #2FBEB5 #B52FBE
tetradic
#BEB52F #2FBE6E #2F38BE #BE2F80
square
#BEB52F #2FBE6E #2F38BE #BE2F80
split-complementary
#BEB52F #2F80BE #6E2FBE
monochromatic
#5C5817 #8D8623 #BEB52F #D5CD55 #E1DB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BEB52F#FFFFFF#000000##000000
##BEB52F1.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)
#C5AE11
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#CCA89C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #beb52f;
/* rgb */ color: rgb(190, 181, 47);
/* oklch */ color: oklch(75.8% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#d5ca72',
    500: '#beb52f',
    950: '#000000',
  },
}
SCSS
$custom: #beb52f;
$custom-light: #d5ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#beb52f",
  "rgb": {
    "r": 190,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 56.224,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75776,
    "c": 0.14685,
    "h": 105.4
  },
  "luminance": 0.442
}

Semantic roles & 50–950 ramp

primary
#BEB52F
secondary
#7E83CB
accent
#4EE344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BEB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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