#CEB954#CEB954

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

Color values

HEX#CEB954
RGBrgb(206, 185, 84)
HSLhsl(50, 55%, 57%)
HSVhsv(50, 59%, 81%)
CMYKcmyk(0%, 10.2%, 59.2%, 19.2%)
CIE-LABlab(75.12, -4.77, 52.89)
CIE-LCHlch(75.12, 53.10, 95.15°)
OKLaboklab(78.39% -0.0165 0.1223)
OKLCHoklch(78.39% 0.123 97.7)
XYZxyz(44.4046, 48.4618, 15.4009)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB954 #5469CE
analogous
#CE7C54 #CEB954 #A6CE54
triadic
#CEB954 #54CEB9 #B954CE
tetradic
#CEB954 #54CE7C #5469CE #CE54A6
square
#CEB954 #54CE7C #5469CE #CE54A6
split-complementary
#CEB954 #54A6CE #7C54CE
monochromatic
#827225 #B29C33 #CEB954 #DCCC84 #E9E0B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB954#FFFFFF#000000##000000
##CEB9541.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceb954;
/* rgb */ color: rgb(206, 185, 84);
/* oklch */ color: oklch(78.4% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#e0cd88',
    500: '#ceb954',
    950: '#000000',
  },
}
SCSS
$custom: #ceb954;
$custom-light: #e0cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb954",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 49.672,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78387,
    "c": 0.12335,
    "h": 97.7
  },
  "luminance": 0.4846
}

Semantic roles & 50–950 ramp

primary
#CEB954
secondary
#A6AFD8
accent
#63DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB954

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

Preview Lab → · Contrast checker → · Palette generator →

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