#CEC93E#CEC93E

#CEC93E is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.154 H 107.3°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CEC93E
RGBrgb(206, 201, 62)
HSLhsl(58, 60%, 53%)
HSVhsv(58, 70%, 81%)
CMYKcmyk(0%, 2.4%, 69.9%, 19.2%)
CIE-LABlab(79.18, -14.29, 66.30)
CIE-LCHlch(79.18, 67.83, 102.16°)
OKLaboklab(81.56% -0.0459 0.1473)
OKLCHoklch(81.56% 0.154 107.3)
XYZxyz(47.2115, 55.2445, 12.7328)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC93E #3E43CE
analogous
#CE813E #CEC93E #8BCE3E
triadic
#CEC93E #3ECEC9 #C93ECE
tetradic
#CEC93E #3ECE81 #3E43CE #CE3E8B
square
#CEC93E #3ECE81 #3E43CE #CE3E8B
split-complementary
#CEC93E #3E8BCE #813ECE
monochromatic
#74711D #A5A12A #CEC93E #DAD76F #E7E4A0

Accessibility & contrast

On white

1.74
#CEC93E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CEC93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC93E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC93E#FFFFFF#000000##000000
##CEC93E1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC127
Deuteranopia (green-blind)
#DCC748
Tritanopia (blue-blind)
#DDBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec93e;
/* rgb */ color: rgb(206, 201, 62);
/* oklch */ color: oklch(81.6% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#e1d97c',
    500: '#cec93e',
    950: '#000000',
  },
}
SCSS
$custom: #cec93e;
$custom-light: #e1d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec93e",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 62
  },
  "hsl": {
    "h": 57.917,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81563,
    "c": 0.15434,
    "h": 107.3
  },
  "luminance": 0.55243
}

Semantic roles & 50–950 ramp

primary
#CEC93E
secondary
#33367D
accent
#4BE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC93E

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

Preview Lab → · Contrast checker → · Palette generator →

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