#CEBE2F#CEBE2F

#CEBE2F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.1% C 0.153 H 102.6°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CEBE2F
RGBrgb(206, 190, 47)
HSLhsl(54, 63%, 50%)
HSVhsv(54, 77%, 81%)
CMYKcmyk(0%, 7.8%, 77.2%, 19.2%)
CIE-LABlab(76.16, -9.36, 68.57)
CIE-LCHlch(76.16, 69.21, 97.77°)
OKLaboklab(79.13% -0.0335 0.1494)
OKLCHoklch(79.13% 0.153 102.6)
XYZxyz(44.3822, 50.1559, 10.0320)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBE2F #2F3FCE
analogous
#CE6E2F #CEBE2F #8FCE2F
triadic
#CEBE2F #2FCEBE #BE2FCE
tetradic
#CEBE2F #2FCE6E #2F3FCE #CE2F8F
square
#CEBE2F #2FCE6E #2F3FCE #CE2F8F
split-complementary
#CEBE2F #2F8FCE #6E2FCE
monochromatic
#6A6218 #9C9024 #CEBE2F #DBCE60 #E6DD91

Accessibility & contrast

On white

1.90
#CEBE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CEBE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBE2F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBE2F#FFFFFF#000000##000000
##CEBE2F1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B809
Deuteranopia (green-blind)
#D5BF3A
Tritanopia (blue-blind)
#DEB0A3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cebe2f;
/* rgb */ color: rgb(206, 190, 47);
/* oklch */ color: oklch(79.1% 0.153 102.6);
Tailwind
colors: {
  custom: {
    50: '#e1d173',
    500: '#cebe2f',
    950: '#000000',
  },
}
SCSS
$custom: #cebe2f;
$custom-light: #e1d173;
$custom-dark: #000000;
JSON
{
  "hex": "#cebe2f",
  "rgb": {
    "r": 206,
    "g": 190,
    "b": 47
  },
  "hsl": {
    "h": 53.962,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79134,
    "c": 0.15312,
    "h": 102.6
  },
  "luminance": 0.50154
}

Semantic roles & 50–950 ramp

primary
#CEBE2F
secondary
#2D3474
accent
#52E642
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CEBE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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