#CECA5A#CECA5A

#CECA5A is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.134 H 107.1°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CECA5A
RGBrgb(206, 202, 90)
HSLhsl(58, 54%, 58%)
HSVhsv(58, 56%, 81%)
CMYKcmyk(0%, 1.9%, 56.3%, 19.2%)
CIE-LABlab(79.67, -13.05, 55.29)
CIE-LCHlch(79.67, 56.81, 103.28°)
OKLaboklab(82.03% -0.0395 0.1281)
OKLCHoklch(82.03% 0.134 107.1)
XYZxyz(48.4210, 56.1025, 17.9491)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA5A #5A5ECE
analogous
#CE905A #CECA5A #98CE5A
triadic
#CECA5A #5ACECA #CA5ACE
tetradic
#CECA5A #5ACE90 #5A5ECE #CE5A98
square
#CECA5A #5ACE90 #5A5ECE #CE5A98
split-complementary
#CECA5A #5A98CE #905ACE
monochromatic
#868328 #B5B136 #CECA5A #DCD989 #EAE8B8

Accessibility & contrast

On white

1.72
#CECA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CECA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA5A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA5A#FFFFFF#000000##000000
##CECA5A1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#DBC860
Tritanopia (blue-blind)
#DBBEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca5a;
/* rgb */ color: rgb(206, 202, 90);
/* oklch */ color: oklch(82.0% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd98c',
    500: '#ceca5a',
    950: '#000000',
  },
}
SCSS
$custom: #ceca5a;
$custom-light: #dfd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca5a",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 57.931,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82025,
    "c": 0.13406,
    "h": 107.1
  },
  "luminance": 0.56101
}

Semantic roles & 50–950 ramp

primary
#CECA5A
secondary
#3F428D
accent
#4FDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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