#BEB23F#BEB23F

#BEB23F is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.134 H 103.3°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BEB23F
RGBrgb(190, 178, 63)
HSLhsl(54, 50%, 50%)
HSVhsv(54, 67%, 75%)
CMYKcmyk(0%, 6.3%, 66.8%, 25.5%)
CIE-LABlab(71.66, -9.31, 57.91)
CIE-LCHlch(71.66, 58.65, 99.13°)
OKLaboklab(75.25% -0.0309 0.1303)
OKLCHoklch(75.25% 0.134 103.3)
XYZxyz(38.0543, 43.1483, 11.0256)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEB23F #3F4BBE
analogous
#BE733F #BEB23F #8ABE3F
triadic
#BEB23F #3FBEB2 #B23FBE
tetradic
#BEB23F #3FBE73 #3F4BBE #BE3F8A
square
#BEB23F #3FBE73 #3F4BBE #BE3F8A
split-complementary
#BEB23F #3F8ABE #733FBE
monochromatic
#625C21 #908730 #BEB23F #CEC56C #DDD79A

Accessibility & contrast

On white

2.18
#BEB23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#BEB23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEB23F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEB23F#FFFFFF#000000##000000
##BEB23F1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2F
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#CCA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #beb23f;
/* rgb */ color: rgb(190, 178, 63);
/* oklch */ color: oklch(75.2% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#d5c87a',
    500: '#beb23f',
    950: '#000000',
  },
}
SCSS
$custom: #beb23f;
$custom-light: #d5c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#beb23f",
  "rgb": {
    "r": 190,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 54.331,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75246,
    "c": 0.13391,
    "h": 103.3
  },
  "luminance": 0.43147
}

Semantic roles & 50–950 ramp

primary
#BEB23F
secondary
#8F95C9
accent
#5BDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BEB23F

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

Preview Lab → · Contrast checker → · Palette generator →

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