#CEAC42#CEAC42

#CEAC42 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.5% C 0.128 H 91.0°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CEAC42
RGBrgb(206, 172, 66)
HSLhsl(45, 59%, 53%)
HSVhsv(45, 68%, 81%)
CMYKcmyk(0%, 16.5%, 68%, 19.2%)
CIE-LABlab(71.57, 0.92, 57.03)
CIE-LCHlch(71.57, 57.04, 89.08°)
OKLaboklab(75.53% -0.0023 0.1284)
OKLCHoklch(75.53% 0.128 91)
XYZxyz(41.1916, 43.0226, 11.2878)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAC42 #4264CE
analogous
#CE6642 #CEAC42 #AACE42
triadic
#CEAC42 #42CEAC #AC42CE
tetradic
#CEAC42 #42CE66 #4264CE #CE42AA
square
#CEAC42 #42CE66 #4264CE #CE42AA
split-complementary
#CEAC42 #42AACE #6642CE
monochromatic
#77611F #A7892B #CEAC42 #DBC173 #E7D7A3

Accessibility & contrast

On white

2.19
#CEAC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#CEAC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAC42
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAC42#FFFFFF#000000##000000
##CEAC421.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA35
Deuteranopia (green-blind)
#C7B347
Tritanopia (blue-blind)
#DE9E96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ceac42;
/* rgb */ color: rgb(206, 172, 66);
/* oklch */ color: oklch(75.5% 0.128 91.0);
Tailwind
colors: {
  custom: {
    50: '#e1c47c',
    500: '#ceac42',
    950: '#000000',
  },
}
SCSS
$custom: #ceac42;
$custom-light: #e1c47c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceac42",
  "rgb": {
    "r": 206,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 45.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75533,
    "c": 0.12844,
    "h": 91
  },
  "luminance": 0.4302
}

Semantic roles & 50–950 ramp

primary
#CEAC42
secondary
#98A6D4
accent
#6CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CEAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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