#CEC13F#CEC13F

#CEC13F is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.146 H 103.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CEC13F
RGBrgb(206, 193, 63)
HSLhsl(55, 59%, 53%)
HSVhsv(55, 69%, 81%)
CMYKcmyk(0%, 6.3%, 69.4%, 19.2%)
CIE-LABlab(77.05, -10.18, 63.83)
CIE-LCHlch(77.05, 64.63, 99.06°)
OKLaboklab(79.87% -0.0343 0.1423)
OKLCHoklch(79.87% 0.146 103.5)
XYZxyz(45.4227, 51.6224, 12.2732)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC13F #3F4CCE
analogous
#CE793F #CEC13F #94CE3F
triadic
#CEC13F #3FCEC1 #C13FCE
tetradic
#CEC13F #3FCE79 #3F4CCE #CE3F94
square
#CEC13F #3FCE79 #3F4CCE #CE3F94
split-complementary
#CEC13F #3F94CE #793FCE
monochromatic
#756D1E #A69A2A #CEC13F #DAD170 #E7E0A1

Accessibility & contrast

On white

1.85
#CEC13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CEC13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC13F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC13F#FFFFFF#000000##000000
##CEC13F1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2B
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#DDB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec13f;
/* rgb */ color: rgb(206, 193, 63);
/* oklch */ color: oklch(79.9% 0.146 103.5);
Tailwind
colors: {
  custom: {
    50: '#e1d37c',
    500: '#cec13f',
    950: '#000000',
  },
}
SCSS
$custom: #cec13f;
$custom-light: #e1d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec13f",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 63
  },
  "hsl": {
    "h": 54.545,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79871,
    "c": 0.14635,
    "h": 103.5
  },
  "luminance": 0.51621
}

Semantic roles & 50–950 ramp

primary
#CEC13F
secondary
#343A7D
accent
#54E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC13F

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

Preview Lab → · Contrast checker → · Palette generator →

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