#CEC36A#CEC36A

#CEC36A is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.112 H 102.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CEC36A
RGBrgb(206, 195, 106)
HSLhsl(53, 51%, 61%)
HSVhsv(53, 49%, 81%)
CMYKcmyk(0%, 5.3%, 48.5%, 19.2%)
CIE-LABlab(77.99, -8.14, 45.78)
CIE-LCHlch(77.99, 46.50, 100.09°)
OKLaboklab(80.74% -0.0237 0.1091)
OKLCHoklch(80.74% 0.112 102.3)
XYZxyz(47.5715, 53.1942, 21.3945)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC36A #6A75CE
analogous
#CE916A #CEC36A #A7CE6A
triadic
#CEC36A #6ACEC3 #C36ACE
tetradic
#CEC36A #6ACE91 #6A75CE #CE6AA7
square
#CEC36A #6ACE91 #6A75CE #CE6AA7
split-complementary
#CEC36A #6AA7CE #916ACE
monochromatic
#8F842F #BDAF3E #CEC36A #DDD698 #ECE8C6

Accessibility & contrast

On white

1.80
#CEC36A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CEC36A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC36A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC36A#FFFFFF#000000##000000
##CEC36A1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE62
Deuteranopia (green-blind)
#D5C36E
Tritanopia (blue-blind)
#DBB8AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec36a;
/* rgb */ color: rgb(206, 195, 106);
/* oklch */ color: oklch(80.7% 0.112 102.3);
Tailwind
colors: {
  custom: {
    50: '#dfd596',
    500: '#cec36a',
    950: '#000000',
  },
}
SCSS
$custom: #cec36a;
$custom-light: #dfd596;
$custom-dark: #000000;
JSON
{
  "hex": "#cec36a",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 106
  },
  "hsl": {
    "h": 53.4,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80744,
    "c": 0.11161,
    "h": 102.3
  },
  "luminance": 0.53193
}

Semantic roles & 50–950 ramp

primary
#CEC36A
secondary
#475095
accent
#38BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC36A

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

Preview Lab → · Contrast checker → · Palette generator →

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