#BEB842#BEB842

#BEB842 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.6% C 0.137 H 106.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#BEB842
RGBrgb(190, 184, 66)
HSLhsl(57, 49%, 50%)
HSVhsv(57, 65%, 75%)
CMYKcmyk(0%, 3.2%, 65.3%, 25.5%)
CIE-LABlab(73.30, -12.23, 58.38)
CIE-LCHlch(73.30, 59.65, 101.83°)
OKLaboklab(76.56% -0.0388 0.1318)
OKLCHoklch(76.56% 0.137 106.4)
XYZxyz(39.3605, 45.6228, 11.8859)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB842 #4248BE
analogous
#BE7A42 #BEB842 #86BE42
triadic
#BEB842 #42BEB8 #B842BE
tetradic
#BEB842 #42BE7A #4248BE #BE4286
square
#BEB842 #42BE7A #4248BE #BE4286
split-complementary
#BEB842 #4286BE #7A42BE
monochromatic
#636022 #918C32 #BEB842 #CEC970 #DDDA9D

Accessibility & contrast

On white

2.07
#BEB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#BEB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB842
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB842#FFFFFF#000000##000000
##BEB8421.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B132
Deuteranopia (green-blind)
#CAB649
Tritanopia (blue-blind)
#CBACA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #beb842;
/* rgb */ color: rgb(190, 184, 66);
/* oklch */ color: oklch(76.6% 0.137 106.4);
Tailwind
colors: {
  custom: {
    50: '#d5cd7c',
    500: '#beb842',
    950: '#000000',
  },
}
SCSS
$custom: #beb842;
$custom-light: #d5cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#beb842",
  "rgb": {
    "r": 190,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 57.097,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76562,
    "c": 0.13737,
    "h": 106.4
  },
  "luminance": 0.45621
}

Semantic roles & 50–950 ramp

primary
#BEB842
secondary
#9295CA
accent
#56D84F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BEB842

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

Preview Lab → · Contrast checker → · Palette generator →

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