#CEC56A#CEC56A

#CEC56A is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.114 H 103.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CEC56A
RGBrgb(206, 197, 106)
HSLhsl(55, 51%, 61%)
HSVhsv(55, 49%, 81%)
CMYKcmyk(0%, 4.4%, 48.5%, 19.2%)
CIE-LABlab(78.52, -9.17, 46.42)
CIE-LCHlch(78.52, 47.31, 101.18°)
OKLaboklab(81.16% -0.0267 0.1105)
OKLCHoklch(81.16% 0.114 103.6)
XYZxyz(48.0226, 54.0964, 21.5449)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC56A #6A73CE
analogous
#CE936A #CEC56A #A5CE6A
triadic
#CEC56A #6ACEC5 #C56ACE
tetradic
#CEC56A #6ACE93 #6A73CE #CE6AA5
square
#CEC56A #6ACE93 #6A73CE #CE6AA5
split-complementary
#CEC56A #6AA5CE #936ACE
monochromatic
#8F862F #BDB13E #CEC56A #DDD798 #ECE9C6

Accessibility & contrast

On white

1.78
#CEC56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CEC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC56A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC56A#FFFFFF#000000##000000
##CEC56A1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF62
Deuteranopia (green-blind)
#D6C56E
Tritanopia (blue-blind)
#DBBAB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec56a;
/* rgb */ color: rgb(206, 197, 106);
/* oklch */ color: oklch(81.2% 0.114 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd696',
    500: '#cec56a',
    950: '#000000',
  },
}
SCSS
$custom: #cec56a;
$custom-light: #dfd696;
$custom-dark: #000000;
JSON
{
  "hex": "#cec56a",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 54.6,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81163,
    "c": 0.11364,
    "h": 103.6
  },
  "luminance": 0.54095
}

Semantic roles & 50–950 ramp

primary
#CEC56A
secondary
#474E95
accent
#35BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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