#CEC93D#CEC93D

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

Color values

HEX#CEC93D
RGBrgb(206, 201, 61)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 70%, 81%)
CMYKcmyk(0%, 2.4%, 70.4%, 19.2%)
CIE-LABlab(79.18, -14.34, 66.66)
CIE-LCHlch(79.18, 68.19, 102.14°)
OKLaboklab(81.56% -0.0462 0.1479)
OKLCHoklch(81.56% 0.155 107.3)
XYZxyz(47.1843, 55.2336, 12.5897)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC93D #3D42CE
analogous
#CE813D #CEC93D #8BCE3D
triadic
#CEC93D #3DCEC9 #C93DCE
tetradic
#CEC93D #3DCE81 #3D42CE #CE3D8B
square
#CEC93D #3DCE81 #3D42CE #CE3D8B
split-complementary
#CEC93D #3D8BCE #813DCE
monochromatic
#73701D #A4A029 #CEC93D #DAD76E #E7E49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC93D#FFFFFF#000000##000000
##CEC93D1.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)
#DAC125
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#DDBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec93d;
/* rgb */ color: rgb(206, 201, 61);
/* oklch */ color: oklch(81.6% 0.155 107.3);
Tailwind
colors: {
  custom: {
    50: '#e1d97c',
    500: '#cec93d',
    950: '#000000',
  },
}
SCSS
$custom: #cec93d;
$custom-light: #e1d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec93d",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 61
  },
  "hsl": {
    "h": 57.931,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81556,
    "c": 0.15496,
    "h": 107.3
  },
  "luminance": 0.55232
}

Semantic roles & 50–950 ramp

primary
#CEC93D
secondary
#33367C
accent
#4AE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC93D

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

Preview Lab → · Contrast checker → · Palette generator →

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