#CEC747#CEC747

#CEC747 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.146 H 106.2°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CEC747
RGBrgb(206, 199, 71)
HSLhsl(57, 58%, 54%)
HSVhsv(57, 66%, 81%)
CMYKcmyk(0%, 3.4%, 65.5%, 19.2%)
CIE-LABlab(78.71, -12.80, 62.37)
CIE-LCHlch(78.71, 63.67, 101.59°)
OKLaboklab(81.21% -0.0408 0.1405)
OKLCHoklch(81.21% 0.146 106.2)
XYZxyz(47.0161, 54.4252, 13.9885)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC747 #474ECE
analogous
#CE8447 #CEC747 #92CE47
triadic
#CEC747 #47CEC7 #C747CE
tetradic
#CEC747 #47CE84 #474ECE #CE4792
square
#CEC747 #47CE84 #474ECE #CE4792
split-complementary
#CEC747 #4792CE #8447CE
monochromatic
#7A7521 #AAA42D #CEC747 #DBD677 #E8E4A8

Accessibility & contrast

On white

1.77
#CEC747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CEC747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC747
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC747#FFFFFF#000000##000000
##CEC7471.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C036
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#DDBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec747;
/* rgb */ color: rgb(206, 199, 71);
/* oklch */ color: oklch(81.2% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#e0d781',
    500: '#cec747',
    950: '#000000',
  },
}
SCSS
$custom: #cec747;
$custom-light: #e0d781;
$custom-dark: #000000;
JSON
{
  "hex": "#cec747",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 56.889,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81205,
    "c": 0.14634,
    "h": 106.2
  },
  "luminance": 0.54424
}

Semantic roles & 50–950 ramp

primary
#CEC747
secondary
#373B82
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC747

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

Preview Lab → · Contrast checker → · Palette generator →

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