#CECB42#CECB42

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

Color values

HEX#CECB42
RGBrgb(206, 203, 66)
HSLhsl(59, 59%, 53%)
HSVhsv(59, 68%, 81%)
CMYKcmyk(0%, 1.5%, 68%, 19.2%)
CIE-LABlab(79.74, -15.08, 65.37)
CIE-LCHlch(79.74, 67.09, 102.99°)
OKLaboklab(82.02% -0.0478 0.1461)
OKLCHoklch(82.02% 0.154 108.1)
XYZxyz(47.7946, 56.2285, 13.4888)
Luminance0.5623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB42 #4245CE
analogous
#CE8542 #CECB42 #8BCE42
triadic
#CECB42 #42CECB #CB42CE
tetradic
#CECB42 #42CE85 #4245CE #CE428B
square
#CECB42 #42CE85 #4245CE #CE428B
split-complementary
#CECB42 #428BCE #8542CE
monochromatic
#77751F #A7A52B #CECB42 #DBD873 #E7E6A3

Accessibility & contrast

On white

1.71
#CECB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CECB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB42
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB42#FFFFFF#000000##000000
##CECB421.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32D
Deuteranopia (green-blind)
#DEC84B
Tritanopia (blue-blind)
#DCBEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb42;
/* rgb */ color: rgb(206, 203, 66);
/* oklch */ color: oklch(82.0% 0.154 108.1);
Tailwind
colors: {
  custom: {
    50: '#e0da7e',
    500: '#cecb42',
    950: '#000000',
  },
}
SCSS
$custom: #cecb42;
$custom-light: #e0da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb42",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 58.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82019,
    "c": 0.15367,
    "h": 108.1
  },
  "luminance": 0.56227
}

Semantic roles & 50–950 ramp

primary
#CECB42
secondary
#35377F
accent
#49E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECB42

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

Preview Lab → · Contrast checker → · Palette generator →

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