#CEAF40#CEAF40

#CEAF40 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.132 H 93.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CEAF40
RGBrgb(206, 175, 64)
HSLhsl(47, 59%, 53%)
HSVhsv(47, 69%, 81%)
CMYKcmyk(0%, 15%, 68.9%, 19.2%)
CIE-LABlab(72.33, -0.78, 58.66)
CIE-LCHlch(72.33, 58.66, 90.76°)
OKLaboklab(76.13% -0.0074 0.1315)
OKLCHoklch(76.13% 0.132 93.2)
XYZxyz(41.7111, 44.1542, 11.1751)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAF40 #405FCE
analogous
#CE6840 #CEAF40 #A6CE40
triadic
#CEAF40 #40CEAF #AF40CE
tetradic
#CEAF40 #40CE68 #405FCE #CE40A6
square
#CEAF40 #40CE68 #405FCE #CE40A6
split-complementary
#CEAF40 #40A6CE #6840CE
monochromatic
#75621E #A68B2B #CEAF40 #DAC371 #E7D8A1

Accessibility & contrast

On white

2.14
#CEAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#CEAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAF40
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAF40#FFFFFF#000000##000000
##CEAF401.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#DEA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ceaf40;
/* rgb */ color: rgb(206, 175, 64);
/* oklch */ color: oklch(76.1% 0.132 93.2);
Tailwind
colors: {
  custom: {
    50: '#e1c67b',
    500: '#ceaf40',
    950: '#000000',
  },
}
SCSS
$custom: #ceaf40;
$custom-light: #e1c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceaf40",
  "rgb": {
    "r": 206,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 46.901,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76129,
    "c": 0.13173,
    "h": 93.2
  },
  "luminance": 0.44152
}

Semantic roles & 50–950 ramp

primary
#CEAF40
secondary
#96A4D4
accent
#68E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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