#CEB949#CEB949

#CEB949 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.132 H 98.6°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CEB949
RGBrgb(206, 185, 73)
HSLhsl(51, 58%, 55%)
HSVhsv(51, 65%, 81%)
CMYKcmyk(0%, 10.2%, 64.6%, 19.2%)
CIE-LABlab(75.02, -5.50, 57.67)
CIE-LCHlch(75.02, 57.93, 95.45°)
OKLaboklab(78.28% -0.0198 0.1309)
OKLCHoklch(78.28% 0.132 98.6)
XYZxyz(44.0071, 48.3028, 13.3074)
Luminance0.4830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB949 #495ECE
analogous
#CE7649 #CEB949 #A1CE49
triadic
#CEB949 #49CEB9 #B949CE
tetradic
#CEB949 #49CE76 #495ECE #CE49A1
square
#CEB949 #49CE76 #495ECE #CE49A1
split-complementary
#CEB949 #49A1CE #7649CE
monochromatic
#7B6D21 #AC982E #CEB949 #DBCC79 #E8DEA9

Accessibility & contrast

On white

1.97
#CEB949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CEB949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB949
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB949#FFFFFF#000000##000000
##CEB9491.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43B
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#DDACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb949;
/* rgb */ color: rgb(206, 185, 73);
/* oklch */ color: oklch(78.3% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#e0cd81',
    500: '#ceb949',
    950: '#000000',
  },
}
SCSS
$custom: #ceb949;
$custom-light: #e0cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb949",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 50.526,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78276,
    "c": 0.1324,
    "h": 98.6
  },
  "luminance": 0.48301
}

Semantic roles & 50–950 ramp

primary
#CEB949
secondary
#9DA6D5
accent
#5FE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB949

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

Preview Lab → · Contrast checker → · Palette generator →

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