#CEC93F#CEC93F

#CEC93F is a light, vivid yellow. Relative luminance 0.553; 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#CEC93F
RGBrgb(206, 201, 63)
HSLhsl(58, 59%, 53%)
HSVhsv(58, 69%, 81%)
CMYKcmyk(0%, 2.4%, 69.4%, 19.2%)
CIE-LABlab(79.19, -14.24, 65.94)
CIE-LCHlch(79.19, 67.46, 102.18°)
OKLaboklab(81.57% -0.0457 0.1468)
OKLCHoklch(81.57% 0.154 107.3)
XYZxyz(47.2392, 55.2556, 12.8787)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC93F #3F44CE
analogous
#CE813F #CEC93F #8BCE3F
triadic
#CEC93F #3FCEC9 #C93FCE
tetradic
#CEC93F #3FCE81 #3F44CE #CE3F8B
square
#CEC93F #3FCE81 #3F44CE #CE3F8B
split-complementary
#CEC93F #3F8BCE #813FCE
monochromatic
#75721E #A6A12A #CEC93F #DAD770 #E7E4A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC93F#FFFFFF#000000##000000
##CEC93F1.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)
#DAC129
Deuteranopia (green-blind)
#DCC749
Tritanopia (blue-blind)
#DDBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec93f;
/* rgb */ color: rgb(206, 201, 63);
/* oklch */ color: oklch(81.6% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#e0d97d',
    500: '#cec93f',
    950: '#000000',
  },
}
SCSS
$custom: #cec93f;
$custom-light: #e0d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec93f",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 57.902,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.8157,
    "c": 0.1537,
    "h": 107.3
  },
  "luminance": 0.55254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC93F

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

Preview Lab → · Contrast checker → · Palette generator →

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