#CEB042#CEB042

#CEB042 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.131 H 93.7°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CEB042
RGBrgb(206, 176, 66)
HSLhsl(47, 59%, 53%)
HSVhsv(47, 68%, 81%)
CMYKcmyk(0%, 14.6%, 68%, 19.2%)
CIE-LABlab(72.61, -1.19, 58.11)
CIE-LCHlch(72.61, 58.12, 91.18°)
OKLaboklab(76.35% -0.0083 0.1307)
OKLCHoklch(76.35% 0.131 93.7)
XYZxyz(41.9644, 44.5681, 11.5453)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB042 #4260CE
analogous
#CE6A42 #CEB042 #A6CE42
triadic
#CEB042 #42CEB0 #B042CE
tetradic
#CEB042 #42CE6A #4260CE #CE42A6
square
#CEB042 #42CE6A #4260CE #CE42A6
split-complementary
#CEB042 #42A6CE #6A42CE
monochromatic
#77641F #A78D2B #CEB042 #DBC473 #E7D9A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB042#FFFFFF#000000##000000
##CEB0421.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)
#C2AD34
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#DEA299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ceb042;
/* rgb */ color: rgb(206, 176, 66);
/* oklch */ color: oklch(76.4% 0.131 93.7);
Tailwind
colors: {
  custom: {
    50: '#e1c77c',
    500: '#ceb042',
    950: '#000000',
  },
}
SCSS
$custom: #ceb042;
$custom-light: #e1c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb042",
  "rgb": {
    "r": 206,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 47.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76352,
    "c": 0.13098,
    "h": 93.7
  },
  "luminance": 0.44566
}

Semantic roles & 50–950 ramp

primary
#CEB042
secondary
#98A5D4
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB042

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

Preview Lab → · Contrast checker → · Palette generator →

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