#CEC56D#CEC56D

#CEC56D is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.111 H 103.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CEC56D
RGBrgb(206, 197, 109)
HSLhsl(54, 50%, 62%)
HSVhsv(54, 47%, 81%)
CMYKcmyk(0%, 4.4%, 47.1%, 19.2%)
CIE-LABlab(78.55, -8.89, 44.99)
CIE-LCHlch(78.55, 45.86, 101.18°)
OKLaboklab(81.2% -0.0256 0.1076)
OKLCHoklch(81.2% 0.111 103.4)
XYZxyz(48.1814, 54.1599, 22.3809)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC56D #6D76CE
analogous
#CE956D #CEC56D #A7CE6D
triadic
#CEC56D #6DCEC5 #C56DCE
tetradic
#CEC56D #6DCE95 #6D76CE #CE6DA7
square
#CEC56D #6DCE95 #6D76CE #CE6DA7
split-complementary
#CEC56D #6DA7CE #956DCE
monochromatic
#908730 #BEB240 #CEC56D #DDD79B #EDE9C9

Accessibility & contrast

On white

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

On black

11.83
#CEC56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC56D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC56D#FFFFFF#000000##000000
##CEC56D1.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C066
Deuteranopia (green-blind)
#D6C571
Tritanopia (blue-blind)
#DABAB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec56d;
/* rgb */ color: rgb(206, 197, 109);
/* oklch */ color: oklch(81.2% 0.111 103.4);
Tailwind
colors: {
  custom: {
    50: '#dfd698',
    500: '#cec56d',
    950: '#000000',
  },
}
SCSS
$custom: #cec56d;
$custom-light: #dfd698;
$custom-dark: #000000;
JSON
{
  "hex": "#cec56d",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 109
  },
  "hsl": {
    "h": 54.433,
    "s": 49.744,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81204,
    "c": 0.11055,
    "h": 103.4
  },
  "luminance": 0.54158
}

Semantic roles & 50–950 ramp

primary
#CEC56D
secondary
#495096
accent
#36BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC56D

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

Preview Lab → · Contrast checker → · Palette generator →

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