#CECB40#CECB40

#CECB40 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.155 H 108.2°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CECB40
RGBrgb(206, 203, 64)
HSLhsl(59, 59%, 53%)
HSVhsv(59, 69%, 81%)
CMYKcmyk(0%, 1.5%, 68.9%, 19.2%)
CIE-LABlab(79.73, -15.19, 66.11)
CIE-LCHlch(79.73, 67.83, 102.94°)
OKLaboklab(82% -0.0483 0.1473)
OKLCHoklch(82% 0.155 108.2)
XYZxyz(47.7367, 56.2054, 13.1836)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB40 #4043CE
analogous
#CE8440 #CECB40 #8ACE40
triadic
#CECB40 #40CECB #CB40CE
tetradic
#CECB40 #40CE84 #4043CE #CE408A
square
#CECB40 #40CE84 #4043CE #CE408A
split-complementary
#CECB40 #408ACE #8440CE
monochromatic
#75741E #A6A42B #CECB40 #DAD871 #E7E6A1

Accessibility & contrast

On white

1.72
#CECB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CECB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB40
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB40#FFFFFF#000000##000000
##CECB401.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32A
Deuteranopia (green-blind)
#DEC84A
Tritanopia (blue-blind)
#DDBEAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb40;
/* rgb */ color: rgb(206, 203, 64);
/* oklch */ color: oklch(82.0% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0da7d',
    500: '#cecb40',
    950: '#000000',
  },
}
SCSS
$custom: #cecb40;
$custom-light: #e0da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb40",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 58.732,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82004,
    "c": 0.15498,
    "h": 108.2
  },
  "luminance": 0.56204
}

Semantic roles & 50–950 ramp

primary
#CECB40
secondary
#34367E
accent
#49E245
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECB40

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

Preview Lab → · Contrast checker → · Palette generator →

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