#CEB04B#CEB04B

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

Color values

HEX#CEB04B
RGBrgb(206, 176, 75)
HSLhsl(46, 57%, 55%)
HSVhsv(46, 64%, 81%)
CMYKcmyk(0%, 14.6%, 63.6%, 19.2%)
CIE-LABlab(72.68, -0.66, 54.28)
CIE-LCHlch(72.68, 54.29, 90.69°)
OKLaboklab(76.44% -0.0057 0.124)
OKLCHoklch(76.44% 0.124 92.6)
XYZxyz(42.2509, 44.6827, 13.0544)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB04B #4B69CE
analogous
#CE6F4B #CEB04B #AACE4B
triadic
#CEB04B #4BCEB0 #B04BCE
tetradic
#CEB04B #4BCE6F #4B69CE #CE4BAA
square
#CEB04B #4BCE6F #4B69CE #CE4BAA
split-complementary
#CEB04B #4BAACE #6F4BCE
monochromatic
#7D6822 #AD902F #CEB04B #DBC57B #E8DAAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB04B#FFFFFF#000000##000000
##CEB04B1.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)
#C2AD40
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#DEA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ceb04b;
/* rgb */ color: rgb(206, 176, 75);
/* oklch */ color: oklch(76.4% 0.124 92.6);
Tailwind
colors: {
  custom: {
    50: '#e0c781',
    500: '#ceb04b',
    950: '#000000',
  },
}
SCSS
$custom: #ceb04b;
$custom-light: #e0c781;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb04b",
  "rgb": {
    "r": 206,
    "g": 176,
    "b": 75
  },
  "hsl": {
    "h": 46.26,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76436,
    "c": 0.12414,
    "h": 92.6
  },
  "luminance": 0.4468
}

Semantic roles & 50–950 ramp

primary
#CEB04B
secondary
#9FACD6
accent
#6AE047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB04B

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

Preview Lab → · Contrast checker → · Palette generator →

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