#CEB04C#CEB04C

#CEB04C is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.123 H 92.5°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CEB04C
RGBrgb(206, 176, 76)
HSLhsl(46, 57%, 55%)
HSVhsv(46, 63%, 81%)
CMYKcmyk(0%, 14.6%, 63.1%, 19.2%)
CIE-LABlab(72.69, -0.59, 53.84)
CIE-LCHlch(72.69, 53.84, 90.63°)
OKLaboklab(76.45% -0.0054 0.1232)
OKLCHoklch(76.45% 0.123 92.5)
XYZxyz(42.2854, 44.6965, 13.2361)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB04C #4C6ACE
analogous
#CE6F4C #CEB04C #ABCE4C
triadic
#CEB04C #4CCEB0 #B04CCE
tetradic
#CEB04C #4CCE6F #4C6ACE #CE4CAB
square
#CEB04C #4CCE6F #4C6ACE #CE4CAB
split-complementary
#CEB04C #4CABCE #6F4CCE
monochromatic
#7D6822 #AD902F #CEB04C #DBC57C #E8DAAC

Accessibility & contrast

On white

2.11
#CEB04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CEB04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB04C
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB04C#FFFFFF#000000##000000
##CEB04C1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD41
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#DEA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ceb04c;
/* rgb */ color: rgb(206, 176, 76);
/* oklch */ color: oklch(76.4% 0.123 92.5);
Tailwind
colors: {
  custom: {
    50: '#e0c782',
    500: '#ceb04c',
    950: '#000000',
  },
}
SCSS
$custom: #ceb04c;
$custom-light: #e0c782;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb04c",
  "rgb": {
    "r": 206,
    "g": 176,
    "b": 76
  },
  "hsl": {
    "h": 46.154,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76446,
    "c": 0.12333,
    "h": 92.5
  },
  "luminance": 0.44694
}

Semantic roles & 50–950 ramp

primary
#CEB04C
secondary
#A0ACD6
accent
#6BE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB04C

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

Preview Lab → · Contrast checker → · Palette generator →

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