#CECA7D#CECA7D

#CECA7D is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.099 H 105.8°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CECA7D
RGBrgb(206, 202, 125)
HSLhsl(57, 45%, 65%)
HSVhsv(57, 39%, 81%)
CMYKcmyk(0%, 1.9%, 39.3%, 19.2%)
CIE-LABlab(80.09, -9.82, 38.92)
CIE-LCHlch(80.09, 40.14, 104.16°)
OKLaboklab(82.49% -0.0268 0.0949)
OKLCHoklch(82.49% 0.099 105.8)
XYZxyz(50.2766, 56.8447, 27.7217)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA7D #7D81CE
analogous
#CEA27D #CECA7D #AACE7D
triadic
#CECA7D #7DCECA #CA7DCE
tetradic
#CECA7D #7DCEA2 #7D81CE #CE7DAA
square
#CECA7D #7DCEA2 #7D81CE #CE7DAA
split-complementary
#CECA7D #7DAACE #A27DCE
monochromatic
#979339 #BDB851 #CECA7D #DFDCA9 #F0EED6

Accessibility & contrast

On white

1.70
#CECA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CECA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA7D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA7D#FFFFFF#000000##000000
##CECA7D1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C577
Deuteranopia (green-blind)
#D8C880
Tritanopia (blue-blind)
#D9C1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ceca7d;
/* rgb */ color: rgb(206, 202, 125);
/* oklch */ color: oklch(82.5% 0.099 105.8);
Tailwind
colors: {
  custom: {
    50: '#dedaa4',
    500: '#ceca7d',
    950: '#000000',
  },
}
SCSS
$custom: #ceca7d;
$custom-light: #dedaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca7d",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 57.037,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82495,
    "c": 0.09862,
    "h": 105.8
  },
  "luminance": 0.56844
}

Semantic roles & 50–950 ramp

primary
#CECA7D
secondary
#52559D
accent
#34B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CECA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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