#CECA42#CECA42

#CECA42 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.153 H 107.7°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CECA42
RGBrgb(206, 202, 66)
HSLhsl(58, 59%, 53%)
HSVhsv(58, 68%, 81%)
CMYKcmyk(0%, 1.9%, 68%, 19.2%)
CIE-LABlab(79.48, -14.58, 65.11)
CIE-LCHlch(79.48, 66.72, 102.63°)
OKLaboklab(81.81% -0.0464 0.1455)
OKLCHoklch(81.81% 0.153 107.7)
XYZxyz(47.5592, 55.7578, 13.4103)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA42 #4246CE
analogous
#CE8442 #CECA42 #8CCE42
triadic
#CECA42 #42CECA #CA42CE
tetradic
#CECA42 #42CE84 #4246CE #CE428C
square
#CECA42 #42CE84 #4246CE #CE428C
split-complementary
#CECA42 #428CCE #8442CE
monochromatic
#77741F #A7A42B #CECA42 #DBD873 #E7E5A3

Accessibility & contrast

On white

1.73
#CECA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CECA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA42
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA42#FFFFFF#000000##000000
##CECA421.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#DDBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca42;
/* rgb */ color: rgb(206, 202, 66);
/* oklch */ color: oklch(81.8% 0.153 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0d97e',
    500: '#ceca42',
    950: '#000000',
  },
}
SCSS
$custom: #ceca42;
$custom-light: #e0d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca42",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 58.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81805,
    "c": 0.1527,
    "h": 107.7
  },
  "luminance": 0.55756
}

Semantic roles & 50–950 ramp

primary
#CECA42
secondary
#35377F
accent
#4AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CECA42

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

Preview Lab → · Contrast checker → · Palette generator →

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