#CEB962#CEB962

#CEB962 is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.110 H 96.1°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CEB962
RGBrgb(206, 185, 98)
HSLhsl(48, 52%, 60%)
HSVhsv(48, 52%, 81%)
CMYKcmyk(0%, 10.2%, 52.4%, 19.2%)
CIE-LABlab(75.27, -3.67, 46.42)
CIE-LCHlch(75.27, 46.56, 94.52°)
OKLaboklab(78.55% -0.0117 0.1098)
OKLCHoklch(78.55% 0.11 96.1)
XYZxyz(45.0087, 48.7035, 18.5828)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB962 #6277CE
analogous
#CE8362 #CEB962 #ADCE62
triadic
#CEB962 #62CEB9 #B962CE
tetradic
#CEB962 #62CE83 #6277CE #CE62AD
square
#CEB962 #62CE83 #6277CE #CE62AD
split-complementary
#CEB962 #62ADCE #8362CE
monochromatic
#8A782B #B9A03A #CEB962 #DDCE91 #EBE3BF

Accessibility & contrast

On white

1.96
#CEB962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CEB962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB962
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB962#FFFFFF#000000##000000
##CEB9621.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CEBC66
Tritanopia (blue-blind)
#DCAEA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb962;
/* rgb */ color: rgb(206, 185, 98);
/* oklch */ color: oklch(78.6% 0.110 96.1);
Tailwind
colors: {
  custom: {
    50: '#dfcd91',
    500: '#ceb962',
    950: '#000000',
  },
}
SCSS
$custom: #ceb962;
$custom-light: #dfcd91;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb962",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 48.333,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.78555,
    "c": 0.11039,
    "h": 96.1
  },
  "luminance": 0.48702
}

Semantic roles & 50–950 ramp

primary
#CEB962
secondary
#B1B9DB
accent
#68DC4C
background
#FEFCF9
surface
#FCF9F1
border
#D5D2CB
text
#15130D
muted
#84827E

Preview Lab

Preview with #CEB962

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

Preview Lab → · Contrast checker → · Palette generator →

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