#CEC461#CEC461

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

Color values

HEX#CEC461
RGBrgb(206, 196, 97)
HSLhsl(54, 53%, 59%)
HSVhsv(54, 53%, 81%)
CMYKcmyk(0%, 4.9%, 52.9%, 19.2%)
CIE-LABlab(78.15, -9.44, 50.31)
CIE-LCHlch(78.15, 51.18, 100.63°)
OKLaboklab(80.84% -0.0284 0.1181)
OKLCHoklch(80.84% 0.122 103.5)
XYZxyz(47.3526, 53.4663, 19.1326)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC461 #616BCE
analogous
#CE8D61 #CEC461 #A2CE61
triadic
#CEC461 #61CEC4 #C461CE
tetradic
#CEC461 #61CE8D #616BCE #CE61A2
square
#CEC461 #61CE8D #616BCE #CE61A2
split-complementary
#CEC461 #61A2CE #8D61CE
monochromatic
#8A812B #B9AD39 #CEC461 #DCD590 #EBE7BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC461#FFFFFF#000000##000000
##CEC4611.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)
#D3BE58
Deuteranopia (green-blind)
#D6C466
Tritanopia (blue-blind)
#DBB9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec461;
/* rgb */ color: rgb(206, 196, 97);
/* oklch */ color: oklch(80.8% 0.122 103.5);
Tailwind
colors: {
  custom: {
    50: '#dfd591',
    500: '#cec461',
    950: '#000000',
  },
}
SCSS
$custom: #cec461;
$custom-light: #dfd591;
$custom-dark: #000000;
JSON
{
  "hex": "#cec461",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 97
  },
  "hsl": {
    "h": 54.495,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80837,
    "c": 0.12151,
    "h": 103.5
  },
  "luminance": 0.53465
}

Semantic roles & 50–950 ramp

primary
#CEC461
secondary
#434A91
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC461

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

Preview Lab → · Contrast checker → · Palette generator →

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