#CEAC40#CEAC40

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

Color values

HEX#CEAC40
RGBrgb(206, 172, 64)
HSLhsl(46, 59%, 53%)
HSVhsv(46, 69%, 81%)
CMYKcmyk(0%, 16.5%, 68.9%, 19.2%)
CIE-LABlab(71.55, 0.81, 57.86)
CIE-LCHlch(71.55, 57.86, 89.20°)
OKLaboklab(75.52% -0.0028 0.1298)
OKLCHoklch(75.52% 0.13 91.2)
XYZxyz(41.1337, 42.9994, 10.9826)
Luminance0.4300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAC40 #4062CE
analogous
#CE6540 #CEAC40 #A9CE40
triadic
#CEAC40 #40CEAC #AC40CE
tetradic
#CEAC40 #40CE65 #4062CE #CE40A9
square
#CEAC40 #40CE65 #4062CE #CE40A9
split-complementary
#CEAC40 #40A9CE #6540CE
monochromatic
#75611E #A6892B #CEAC40 #DAC171 #E7D6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEAC40#FFFFFF#000000##000000
##CEAC401.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)
#BEAA32
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#DE9E96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ceac40;
/* rgb */ color: rgb(206, 172, 64);
/* oklch */ color: oklch(75.5% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#e1c47b',
    500: '#ceac40',
    950: '#000000',
  },
}
SCSS
$custom: #ceac40;
$custom-light: #e1c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceac40",
  "rgb": {
    "r": 206,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 45.634,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75516,
    "c": 0.12986,
    "h": 91.2
  },
  "luminance": 0.42997
}

Semantic roles & 50–950 ramp

primary
#CEAC40
secondary
#96A5D4
accent
#6BE245
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CEAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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