#CEC460#CEC460

#CEC460 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.122 H 103.6°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CEC460
RGBrgb(206, 196, 96)
HSLhsl(55, 53%, 59%)
HSVhsv(55, 53%, 81%)
CMYKcmyk(0%, 4.9%, 53.4%, 19.2%)
CIE-LABlab(78.14, -9.53, 50.76)
CIE-LCHlch(78.14, 51.65, 100.63°)
OKLaboklab(80.83% -0.0288 0.119)
OKLCHoklch(80.83% 0.122 103.6)
XYZxyz(47.3063, 53.4478, 18.8886)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC460 #606ACE
analogous
#CE8D60 #CEC460 #A1CE60
triadic
#CEC460 #60CEC4 #C460CE
tetradic
#CEC460 #60CE8D #606ACE #CE60A1
square
#CEC460 #60CE8D #606ACE #CE60A1
split-complementary
#CEC460 #60A1CE #8D60CE
monochromatic
#89812A #B8AC39 #CEC460 #DCD58F #EBE7BE

Accessibility & contrast

On white

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

On black

11.69
#CEC460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC460
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC460#FFFFFF#000000##000000
##CEC4601.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE56
Deuteranopia (green-blind)
#D6C465
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec460;
/* rgb */ color: rgb(206, 196, 96);
/* oklch */ color: oklch(80.8% 0.122 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd590',
    500: '#cec460',
    950: '#000000',
  },
}
SCSS
$custom: #cec460;
$custom-light: #dfd590;
$custom-dark: #000000;
JSON
{
  "hex": "#cec460",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 96
  },
  "hsl": {
    "h": 54.545,
    "s": 52.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80825,
    "c": 0.12246,
    "h": 103.6
  },
  "luminance": 0.53446
}

Semantic roles & 50–950 ramp

primary
#CEC460
secondary
#424990
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC460

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

Preview Lab → · Contrast checker → · Palette generator →

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