#CEB254#CEB254

#CEB254 is a light, moderate yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.118 H 92.9°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CEB254
RGBrgb(206, 178, 84)
HSLhsl(46, 55%, 57%)
HSVhsv(46, 59%, 81%)
CMYKcmyk(0%, 13.6%, 59.2%, 19.2%)
CIE-LABlab(73.29, -1.10, 50.82)
CIE-LCHlch(73.29, 50.84, 91.24°)
OKLaboklab(76.94% -0.0059 0.1178)
OKLCHoklch(76.94% 0.118 92.9)
XYZxyz(42.9761, 45.6048, 14.9247)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB254 #5470CE
analogous
#CE7554 #CEB254 #ADCE54
triadic
#CEB254 #54CEB2 #B254CE
tetradic
#CEB254 #54CE75 #5470CE #CE54AD
square
#CEB254 #54CE75 #5470CE #CE54AD
split-complementary
#CEB254 #54ADCE #7554CE
monochromatic
#826D25 #B29533 #CEB254 #DCC784 #E9DDB3

Accessibility & contrast

On white

2.07
#CEB254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CEB254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB254
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB254#FFFFFF#000000##000000
##CEB2541.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4B
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#DDA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb254;
/* rgb */ color: rgb(206, 178, 84);
/* oklch */ color: oklch(76.9% 0.118 92.9);
Tailwind
colors: {
  custom: {
    50: '#e0c887',
    500: '#ceb254',
    950: '#000000',
  },
}
SCSS
$custom: #ceb254;
$custom-light: #e0c887;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb254",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 46.23,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76942,
    "c": 0.11798,
    "h": 92.9
  },
  "luminance": 0.45603
}

Semantic roles & 50–950 ramp

primary
#CEB254
secondary
#A6B1D8
accent
#6BDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB254

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

Preview Lab → · Contrast checker → · Palette generator →

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