#CEB952#CEB952

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

Color values

HEX#CEB952
RGBrgb(206, 185, 82)
HSLhsl(50, 56%, 56%)
HSVhsv(50, 60%, 81%)
CMYKcmyk(0%, 10.2%, 60.2%, 19.2%)
CIE-LABlab(75.10, -4.91, 53.78)
CIE-LCHlch(75.10, 54.01, 95.21°)
OKLaboklab(78.36% -0.0171 0.1239)
OKLCHoklch(78.36% 0.125 97.9)
XYZxyz(44.3273, 48.4309, 14.9942)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB952 #5267CE
analogous
#CE7B52 #CEB952 #A5CE52
triadic
#CEB952 #52CEB9 #B952CE
tetradic
#CEB952 #52CE7B #5267CE #CE52A5
square
#CEB952 #52CE7B #5267CE #CE52A5
split-complementary
#CEB952 #52A5CE #7B52CE
monochromatic
#817125 #B19B32 #CEB952 #DCCC82 #E9E0B1

Accessibility & contrast

On white

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

On black

10.69
#CEB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB952
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB952#FFFFFF#000000##000000
##CEB9521.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#DDADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb952;
/* rgb */ color: rgb(206, 185, 82);
/* oklch */ color: oklch(78.4% 0.125 97.9);
Tailwind
colors: {
  custom: {
    50: '#e0cd86',
    500: '#ceb952',
    950: '#000000',
  },
}
SCSS
$custom: #ceb952;
$custom-light: #e0cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb952",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 49.839,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78365,
    "c": 0.12509,
    "h": 97.9
  },
  "luminance": 0.48429
}

Semantic roles & 50–950 ramp

primary
#CEB952
secondary
#A4ADD7
accent
#62DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB952

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

Preview Lab → · Contrast checker → · Palette generator →

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