#CEB040#CEB040

#CEB040 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.132 H 93.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CEB040
RGBrgb(206, 176, 64)
HSLhsl(47, 59%, 53%)
HSVhsv(47, 69%, 81%)
CMYKcmyk(0%, 14.6%, 68.9%, 19.2%)
CIE-LABlab(72.59, -1.30, 58.92)
CIE-LCHlch(72.59, 58.94, 91.27°)
OKLaboklab(76.33% -0.0089 0.1321)
OKLCHoklch(76.33% 0.132 93.9)
XYZxyz(41.9065, 44.5449, 11.2402)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB040 #405ECE
analogous
#CE6940 #CEB040 #A5CE40
triadic
#CEB040 #40CEB0 #B040CE
tetradic
#CEB040 #40CE69 #405ECE #CE40A5
square
#CEB040 #40CE69 #405ECE #CE40A5
split-complementary
#CEB040 #40A5CE #6940CE
monochromatic
#75631E #A68C2B #CEB040 #DAC471 #E7D8A1

Accessibility & contrast

On white

2.12
#CEB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#CEB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB040
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB040#FFFFFF#000000##000000
##CEB0401.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#DEA299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ceb040;
/* rgb */ color: rgb(206, 176, 64);
/* oklch */ color: oklch(76.3% 0.132 93.9);
Tailwind
colors: {
  custom: {
    50: '#e1c77b',
    500: '#ceb040',
    950: '#000000',
  },
}
SCSS
$custom: #ceb040;
$custom-light: #e1c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb040",
  "rgb": {
    "r": 206,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 47.324,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76335,
    "c": 0.13239,
    "h": 93.9
  },
  "luminance": 0.44543
}

Semantic roles & 50–950 ramp

primary
#CEB040
secondary
#96A3D4
accent
#67E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB040

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

Preview Lab → · Contrast checker → · Palette generator →

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