#CECD40#CECD40

#CECD40 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.4% C 0.157 H 109.0°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CECD40
RGBrgb(206, 205, 64)
HSLhsl(60, 59%, 53%)
HSVhsv(60, 69%, 81%)
CMYKcmyk(0%, 0.5%, 68.9%, 19.2%)
CIE-LABlab(80.27, -16.19, 66.64)
CIE-LCHlch(80.27, 68.58, 103.65°)
OKLaboklab(82.43% -0.0511 0.1484)
OKLCHoklch(82.43% 0.157 109)
XYZxyz(48.2120, 57.1561, 13.3421)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD40 #4041CE
analogous
#CE8640 #CECD40 #88CE40
triadic
#CECD40 #40CECD #CD40CE
tetradic
#CECD40 #40CE86 #4041CE #CE4088
square
#CECD40 #40CE86 #4041CE #CE4088
split-complementary
#CECD40 #4088CE #8640CE
monochromatic
#75751E #A6A52B #CECD40 #DADA71 #E7E6A1

Accessibility & contrast

On white

1.69
#CECD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CECD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD40
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD40#FFFFFF#000000##000000
##CECD401.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC529
Deuteranopia (green-blind)
#DFC94A
Tritanopia (blue-blind)
#DCC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecd40;
/* rgb */ color: rgb(206, 205, 64);
/* oklch */ color: oklch(82.4% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#e0dc7d',
    500: '#cecd40',
    950: '#000000',
  },
}
SCSS
$custom: #cecd40;
$custom-light: #e0dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd40",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 59.577,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82433,
    "c": 0.15694,
    "h": 109
  },
  "luminance": 0.57155
}

Semantic roles & 50–950 ramp

primary
#CECD40
secondary
#34357E
accent
#47E245
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CECD40

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

Preview Lab → · Contrast checker → · Palette generator →

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