#CEC53F#CEC53F

#CEC53F is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.150 H 105.5°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CEC53F
RGBrgb(206, 197, 63)
HSLhsl(56, 59%, 53%)
HSVhsv(56, 69%, 81%)
CMYKcmyk(0%, 4.4%, 69.4%, 19.2%)
CIE-LABlab(78.12, -12.22, 64.89)
CIE-LCHlch(78.12, 66.03, 100.66°)
OKLaboklab(80.72% -0.04 0.1445)
OKLCHoklch(80.72% 0.15 105.5)
XYZxyz(46.3189, 53.4149, 12.5719)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC53F #3F48CE
analogous
#CE7E3F #CEC53F #8FCE3F
triadic
#CEC53F #3FCEC5 #C53FCE
tetradic
#CEC53F #3FCE7E #3F48CE #CE3F8F
square
#CEC53F #3FCE7E #3F48CE #CE3F8F
split-complementary
#CEC53F #3F8FCE #7E3FCE
monochromatic
#756F1E #A69E2A #CEC53F #DAD470 #E7E2A1

Accessibility & contrast

On white

1.80
#CEC53F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CEC53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC53F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC53F#FFFFFF#000000##000000
##CEC53F1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#D9C448
Tritanopia (blue-blind)
#DDB8AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec53f;
/* rgb */ color: rgb(206, 197, 63);
/* oklch */ color: oklch(80.7% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1d67c',
    500: '#cec53f',
    950: '#000000',
  },
}
SCSS
$custom: #cec53f;
$custom-light: #e1d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec53f",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 56.224,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80718,
    "c": 0.14996,
    "h": 105.5
  },
  "luminance": 0.53413
}

Semantic roles & 50–950 ramp

primary
#CEC53F
secondary
#34387D
accent
#4FE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC53F

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

Preview Lab → · Contrast checker → · Palette generator →

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