#CEAC3A#CEAC3A

#CEAC3A is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.5% C 0.134 H 91.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CEAC3A
RGBrgb(206, 172, 58)
HSLhsl(46, 60%, 52%)
HSVhsv(46, 72%, 81%)
CMYKcmyk(0%, 16.5%, 71.8%, 19.2%)
CIE-LABlab(71.51, 0.50, 60.25)
CIE-LCHlch(71.51, 60.25, 89.52°)
OKLaboklab(75.47% -0.0044 0.1338)
OKLCHoklch(75.47% 0.134 91.9)
XYZxyz(40.9721, 42.9348, 10.1313)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAC3A #3A5CCE
analogous
#CE623A #CEAC3A #A6CE3A
triadic
#CEAC3A #3ACEAC #AC3ACE
tetradic
#CEAC3A #3ACE62 #3A5CCE #CE3AA6
square
#CEAC3A #3ACE62 #3A5CCE #CE3AA6
split-complementary
#CEAC3A #3AA6CE #623ACE
monochromatic
#715E1C #A28628 #CEAC3A #DAC16B #E6D59C

Accessibility & contrast

On white

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

On black

9.59
#CEAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAC3A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAC3A#FFFFFF#000000##000000
##CEAC3A1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA929
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#DF9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ceac3a;
/* rgb */ color: rgb(206, 172, 58);
/* oklch */ color: oklch(75.5% 0.134 91.9);
Tailwind
colors: {
  custom: {
    50: '#e1c477',
    500: '#ceac3a',
    950: '#000000',
  },
}
SCSS
$custom: #ceac3a;
$custom-light: #e1c477;
$custom-dark: #000000;
JSON
{
  "hex": "#ceac3a",
  "rgb": {
    "r": 206,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 46.216,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75467,
    "c": 0.13389,
    "h": 91.9
  },
  "luminance": 0.42932
}

Semantic roles & 50–950 ramp

primary
#CEAC3A
secondary
#91A0D2
accent
#69E344
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CEAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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