#CEB54C#CEB54C

#CEB54C is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.127 H 95.9°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CEB54C
RGBrgb(206, 181, 76)
HSLhsl(48, 57%, 55%)
HSVhsv(48, 63%, 81%)
CMYKcmyk(0%, 12.1%, 63.1%, 19.2%)
CIE-LABlab(73.99, -3.22, 55.26)
CIE-LCHlch(73.99, 55.36, 93.34°)
OKLaboklab(77.48% -0.013 0.1262)
OKLCHoklch(77.48% 0.127 95.9)
XYZxyz(43.2839, 46.6935, 13.5689)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB54C #4C65CE
analogous
#CE744C #CEB54C #A6CE4C
triadic
#CEB54C #4CCEB5 #B54CCE
tetradic
#CEB54C #4CCE74 #4C65CE #CE4CA6
square
#CEB54C #4CCE74 #4C65CE #CE4CA6
split-complementary
#CEB54C #4CA6CE #744CCE
monochromatic
#7D6C22 #AD952F #CEB54C #DBC97C #E8DDAC

Accessibility & contrast

On white

2.03
#CEB54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CEB54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB54C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB54C#FFFFFF#000000##000000
##CEB54C1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B140
Deuteranopia (green-blind)
#CDB951
Tritanopia (blue-blind)
#DDA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb54c;
/* rgb */ color: rgb(206, 181, 76);
/* oklch */ color: oklch(77.5% 0.127 95.9);
Tailwind
colors: {
  custom: {
    50: '#e0ca82',
    500: '#ceb54c',
    950: '#000000',
  },
}
SCSS
$custom: #ceb54c;
$custom-light: #e0ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb54c",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 48.462,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77475,
    "c": 0.12691,
    "h": 95.9
  },
  "luminance": 0.46691
}

Semantic roles & 50–950 ramp

primary
#CEB54C
secondary
#A0AAD6
accent
#65E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB54C

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

Preview Lab → · Contrast checker → · Palette generator →

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