#CEB562#CEB562

#CEB562 is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.107 H 93.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#CEB562
RGBrgb(206, 181, 98)
HSLhsl(46, 52%, 60%)
HSVhsv(46, 52%, 81%)
CMYKcmyk(0%, 12.1%, 52.4%, 19.2%)
CIE-LABlab(74.22, -1.57, 45.17)
CIE-LCHlch(74.22, 45.20, 91.99°)
OKLaboklab(77.73% -0.0056 0.107)
OKLCHoklch(77.73% 0.107 93)
XYZxyz(44.1837, 47.0534, 18.3078)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB562 #627BCE
analogous
#CE7F62 #CEB562 #B1CE62
triadic
#CEB562 #62CEB5 #B562CE
tetradic
#CEB562 #62CE7F #627BCE #CE62B1
square
#CEB562 #62CE7F #627BCE #CE62B1
split-complementary
#CEB562 #62B1CE #7F62CE
monochromatic
#8A742B #B99C3A #CEB562 #DDCB91 #EBE1BF

Accessibility & contrast

On white

2.02
#CEB562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#CEB562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB562
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB562#FFFFFF#000000##000000
##CEB5621.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B25B
Deuteranopia (green-blind)
#CBBA65
Tritanopia (blue-blind)
#DCAAA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb562;
/* rgb */ color: rgb(206, 181, 98);
/* oklch */ color: oklch(77.7% 0.107 93.0);
Tailwind
colors: {
  custom: {
    50: '#dfca90',
    500: '#ceb562',
    950: '#000000',
  },
}
SCSS
$custom: #ceb562;
$custom-light: #dfca90;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb562",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 46.111,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.77731,
    "c": 0.10719,
    "h": 93
  },
  "luminance": 0.47051
}

Semantic roles & 50–950 ramp

primary
#CEB562
secondary
#B1BBDB
accent
#6DDC4C
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#15130D
muted
#84827E

Preview Lab

Preview with #CEB562

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

Preview Lab → · Contrast checker → · Palette generator →

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