#CEB951#CEB951

#CEB951 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.126 H 98.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CEB951
RGBrgb(206, 185, 81)
HSLhsl(50, 56%, 56%)
HSVhsv(50, 61%, 81%)
CMYKcmyk(0%, 10.2%, 60.7%, 19.2%)
CIE-LABlab(75.09, -4.98, 54.22)
CIE-LCHlch(75.09, 54.45, 95.24°)
OKLaboklab(78.35% -0.0174 0.1247)
OKLCHoklch(78.35% 0.126 98)
XYZxyz(44.2896, 48.4158, 14.7953)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB951 #5166CE
analogous
#CE7B51 #CEB951 #A5CE51
triadic
#CEB951 #51CEB9 #B951CE
tetradic
#CEB951 #51CE7B #5166CE #CE51A5
square
#CEB951 #51CE7B #5166CE #CE51A5
split-complementary
#CEB951 #51A5CE #7B51CE
monochromatic
#807124 #B09B32 #CEB951 #DBCC81 #E9DFB1

Accessibility & contrast

On white

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

On black

10.68
#CEB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB951
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB951#FFFFFF#000000##000000
##CEB9511.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#DDADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb951;
/* rgb */ color: rgb(206, 185, 81);
/* oklch */ color: oklch(78.4% 0.126 98.0);
Tailwind
colors: {
  custom: {
    50: '#e0cd86',
    500: '#ceb951',
    950: '#000000',
  },
}
SCSS
$custom: #ceb951;
$custom-light: #e0cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb951",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 49.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78355,
    "c": 0.12593,
    "h": 98
  },
  "luminance": 0.48414
}

Semantic roles & 50–950 ramp

primary
#CEB951
secondary
#A4ACD7
accent
#62DF48
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB951

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

Preview Lab → · Contrast checker → · Palette generator →

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