#CEC347#CEC347

#CEC347 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.143 H 104.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CEC347
RGBrgb(206, 195, 71)
HSLhsl(55, 58%, 54%)
HSVhsv(55, 66%, 81%)
CMYKcmyk(0%, 5.3%, 65.5%, 19.2%)
CIE-LABlab(77.64, -10.77, 61.27)
CIE-LCHlch(77.64, 62.21, 99.97°)
OKLaboklab(80.36% -0.0351 0.1382)
OKLCHoklch(80.36% 0.143 104.2)
XYZxyz(46.1078, 52.6087, 13.6858)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC347 #4752CE
analogous
#CE8047 #CEC347 #96CE47
triadic
#CEC347 #47CEC3 #C347CE
tetradic
#CEC347 #47CE80 #4752CE #CE4796
square
#CEC347 #47CE80 #4752CE #CE4796
split-complementary
#CEC347 #4796CE #8047CE
monochromatic
#7A7321 #AAA02D #CEC347 #DBD377 #E8E3A8

Accessibility & contrast

On white

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

On black

11.52
#CEC347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC347
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC347#FFFFFF#000000##000000
##CEC3471.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec347;
/* rgb */ color: rgb(206, 195, 71);
/* oklch */ color: oklch(80.4% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0d480',
    500: '#cec347',
    950: '#000000',
  },
}
SCSS
$custom: #cec347;
$custom-light: #e0d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cec347",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 55.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80357,
    "c": 0.14258,
    "h": 104.2
  },
  "luminance": 0.52607
}

Semantic roles & 50–950 ramp

primary
#CEC347
secondary
#373D82
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC347

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

Preview Lab → · Contrast checker → · Palette generator →

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