#CEB142#CEB142

#CEB142 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.132 H 94.3°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CEB142
RGBrgb(206, 177, 66)
HSLhsl(48, 59%, 53%)
HSVhsv(48, 68%, 81%)
CMYKcmyk(0%, 14.1%, 68%, 19.2%)
CIE-LABlab(72.87, -1.72, 58.38)
CIE-LCHlch(72.87, 58.40, 91.69°)
OKLaboklab(76.56% -0.0098 0.1313)
OKLCHoklch(76.56% 0.132 94.3)
XYZxyz(42.1612, 44.9617, 11.6109)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB142 #425FCE
analogous
#CE6B42 #CEB142 #A5CE42
triadic
#CEB142 #42CEB1 #B142CE
tetradic
#CEB142 #42CE6B #425FCE #CE42A5
square
#CEB142 #42CE6B #425FCE #CE42A5
split-complementary
#CEB142 #42A5CE #6B42CE
monochromatic
#77651F #A78E2B #CEB142 #DBC573 #E7D9A3

Accessibility & contrast

On white

2.10
#CEB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CEB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB142
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB142#FFFFFF#000000##000000
##CEB1421.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE34
Deuteranopia (green-blind)
#CAB748
Tritanopia (blue-blind)
#DEA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ceb142;
/* rgb */ color: rgb(206, 177, 66);
/* oklch */ color: oklch(76.6% 0.132 94.3);
Tailwind
colors: {
  custom: {
    50: '#e1c87c',
    500: '#ceb142',
    950: '#000000',
  },
}
SCSS
$custom: #ceb142;
$custom-light: #e1c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb142",
  "rgb": {
    "r": 206,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 47.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76557,
    "c": 0.13165,
    "h": 94.3
  },
  "luminance": 0.44959
}

Semantic roles & 50–950 ramp

primary
#CEB142
secondary
#98A4D4
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB142

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

Preview Lab → · Contrast checker → · Palette generator →

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