#CEB04F#CEB04F

#CEB04F is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.121 H 92.1°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CEB04F
RGBrgb(206, 176, 79)
HSLhsl(46, 56%, 56%)
HSVhsv(46, 62%, 81%)
CMYKcmyk(0%, 14.6%, 61.7%, 19.2%)
CIE-LABlab(72.72, -0.39, 52.51)
CIE-LCHlch(72.72, 52.51, 90.43°)
OKLaboklab(76.48% -0.0045 0.1208)
OKLCHoklch(76.48% 0.121 92.1)
XYZxyz(42.3922, 44.7392, 13.7982)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB04F #4F6DCE
analogous
#CE704F #CEB04F #ACCE4F
triadic
#CEB04F #4FCEB0 #B04FCE
tetradic
#CEB04F #4FCE70 #4F6DCE #CE4FAC
square
#CEB04F #4FCE70 #4F6DCE #CE4FAC
split-complementary
#CEB04F #4FACCE #704FCE
monochromatic
#7F6A23 #AF9131 #CEB04F #DBC57F #E9DBAF

Accessibility & contrast

On white

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

On black

9.95
#CEB04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB04F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB04F#FFFFFF#000000##000000
##CEB04F1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD45
Deuteranopia (green-blind)
#C9B653
Tritanopia (blue-blind)
#DEA39B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ceb04f;
/* rgb */ color: rgb(206, 176, 79);
/* oklch */ color: oklch(76.5% 0.121 92.1);
Tailwind
colors: {
  custom: {
    50: '#e0c784',
    500: '#ceb04f',
    950: '#000000',
  },
}
SCSS
$custom: #ceb04f;
$custom-light: #e0c784;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb04f",
  "rgb": {
    "r": 206,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 45.827,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76477,
    "c": 0.12087,
    "h": 92.1
  },
  "luminance": 0.44737
}

Semantic roles & 50–950 ramp

primary
#CEB04F
secondary
#A2AFD7
accent
#6CE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB04F

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

Preview Lab → · Contrast checker → · Palette generator →

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