#BEB42E#BEB42E

#BEB42E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.6% C 0.146 H 105.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#BEB42E
RGBrgb(190, 180, 46)
HSLhsl(56, 61%, 46%)
HSVhsv(56, 76%, 75%)
CMYKcmyk(0%, 5.3%, 75.8%, 25.5%)
CIE-LABlab(72.09, -11.18, 64.65)
CIE-LCHlch(72.09, 65.61, 99.81°)
OKLaboklab(75.55% -0.0379 0.1415)
OKLCHoklch(75.55% 0.147 105)
XYZxyz(38.0512, 43.7884, 9.0319)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB42E #2E38BE
analogous
#BE6C2E #BEB42E #80BE2E
triadic
#BEB42E #2EBEB4 #B42EBE
tetradic
#BEB42E #2EBE6C #2E38BE #BE2E80
square
#BEB42E #2EBE6C #2E38BE #BE2E80
split-complementary
#BEB42E #2E80BE #6C2EBE
monochromatic
#5B5716 #8D8522 #BEB42E #D6CD54 #E1DB85

Accessibility & contrast

On white

2.15
#BEB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#BEB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB42E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB42E#FFFFFF#000000##000000
##BEB42E1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0F
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#CCA79B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #beb42e;
/* rgb */ color: rgb(190, 180, 46);
/* oklch */ color: oklch(75.6% 0.146 105.0);
Tailwind
colors: {
  custom: {
    50: '#d5ca71',
    500: '#beb42e',
    950: '#000000',
  },
}
SCSS
$custom: #beb42e;
$custom-light: #d5ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#beb42e",
  "rgb": {
    "r": 190,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 55.833,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75554,
    "c": 0.1465,
    "h": 105
  },
  "luminance": 0.43787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BEB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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