#CECA6F#CECA6F

#CECA6F is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.114 H 106.4°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CECA6F
RGBrgb(206, 202, 111)
HSLhsl(57, 49%, 62%)
HSVhsv(57, 46%, 81%)
CMYKcmyk(0%, 1.9%, 46.1%, 19.2%)
CIE-LABlab(79.90, -11.25, 45.66)
CIE-LCHlch(79.90, 47.02, 103.85°)
OKLaboklab(82.28% -0.0322 0.1092)
OKLCHoklch(82.28% 0.114 106.4)
XYZxyz(49.4444, 56.5118, 23.3391)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA6F #6F73CE
analogous
#CE9B6F #CECA6F #A2CE6F
triadic
#CECA6F #6FCECA #CA6FCE
tetradic
#CECA6F #6FCE9B #6F73CE #CE6FA2
square
#CECA6F #6FCE9B #6F73CE #CE6FA2
split-complementary
#CECA6F #6FA2CE #9B6FCE
monochromatic
#918D31 #BEB941 #CECA6F #DEDB9D #EDECCA

Accessibility & contrast

On white

1.71
#CECA6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CECA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA6F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA6F#FFFFFF#000000##000000
##CECA6F1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C467
Deuteranopia (green-blind)
#DAC873
Tritanopia (blue-blind)
#DAC0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ceca6f;
/* rgb */ color: rgb(206, 202, 111);
/* oklch */ color: oklch(82.3% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#dfda9a',
    500: '#ceca6f',
    950: '#000000',
  },
}
SCSS
$custom: #ceca6f;
$custom-light: #dfda9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca6f",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 111
  },
  "hsl": {
    "h": 57.474,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82284,
    "c": 0.11382,
    "h": 106.4
  },
  "luminance": 0.56511
}

Semantic roles & 50–950 ramp

primary
#CECA6F
secondary
#4A4D97
accent
#2FBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CECA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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