#CEC34D#CEC34D

#CEC34D is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.138 H 104.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CEC34D
RGBrgb(206, 195, 77)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 63%, 81%)
CMYKcmyk(0%, 5.3%, 62.6%, 19.2%)
CIE-LABlab(77.69, -10.40, 58.82)
CIE-LCHlch(77.69, 59.73, 100.03°)
OKLaboklab(80.41% -0.0334 0.1339)
OKLCHoklch(80.41% 0.138 104)
XYZxyz(46.3100, 52.6896, 14.7504)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC34D #4D58CE
analogous
#CE834D #CEC34D #98CE4D
triadic
#CEC34D #4DCEC3 #C34DCE
tetradic
#CEC34D #4DCE83 #4D58CE #CE4D98
square
#CEC34D #4DCE83 #4D58CE #CE4D98
split-complementary
#CEC34D #4D98CE #834DCE
monochromatic
#7E7623 #AEA330 #CEC34D #DBD37D #E8E3AD

Accessibility & contrast

On white

1.82
#CEC34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CEC34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC34D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC34D#FFFFFF#000000##000000
##CEC34D1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD3F
Deuteranopia (green-blind)
#D7C354
Tritanopia (blue-blind)
#DDB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec34d;
/* rgb */ color: rgb(206, 195, 77);
/* oklch */ color: oklch(80.4% 0.138 104.0);
Tailwind
colors: {
  custom: {
    50: '#e0d484',
    500: '#cec34d',
    950: '#000000',
  },
}
SCSS
$custom: #cec34d;
$custom-light: #e0d484;
$custom-dark: #000000;
JSON
{
  "hex": "#cec34d",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 77
  },
  "hsl": {
    "h": 54.884,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80411,
    "c": 0.13802,
    "h": 104
  },
  "luminance": 0.52688
}

Semantic roles & 50–950 ramp

primary
#CEC34D
secondary
#3A4086
accent
#55E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC34D

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

Preview Lab → · Contrast checker → · Palette generator →

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