#CEC867#CEC867

#CEC867 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.120 H 105.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CEC867
RGBrgb(206, 200, 103)
HSLhsl(57, 51%, 61%)
HSVhsv(57, 50%, 81%)
CMYKcmyk(0%, 2.9%, 50%, 19.2%)
CIE-LABlab(79.28, -10.97, 48.78)
CIE-LCHlch(79.28, 50.00, 102.68°)
OKLaboklab(81.76% -0.0322 0.1154)
OKLCHoklch(81.76% 0.12 105.6)
XYZxyz(48.5573, 55.4110, 20.9669)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC867 #676DCE
analogous
#CE9467 #CEC867 #A0CE67
triadic
#CEC867 #67CEC8 #C867CE
tetradic
#CEC867 #67CE94 #676DCE #CE67A0
square
#CEC867 #67CE94 #676DCE #CE67A0
split-complementary
#CEC867 #67A0CE #9467CE
monochromatic
#8D882D #BBB43C #CEC867 #DDD995 #ECE9C4

Accessibility & contrast

On white

1.74
#CEC867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CEC867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC867
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC867#FFFFFF#000000##000000
##CEC8671.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25E
Deuteranopia (green-blind)
#D9C66C
Tritanopia (blue-blind)
#DBBDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec867;
/* rgb */ color: rgb(206, 200, 103);
/* oklch */ color: oklch(81.8% 0.120 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd895',
    500: '#cec867',
    950: '#000000',
  },
}
SCSS
$custom: #cec867;
$custom-light: #dfd895;
$custom-dark: #000000;
JSON
{
  "hex": "#cec867",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 56.505,
    "s": 51.244,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81755,
    "c": 0.11979,
    "h": 105.6
  },
  "luminance": 0.5541
}

Semantic roles & 50–950 ramp

primary
#CEC867
secondary
#464A94
accent
#30BF27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC867

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

Preview Lab → · Contrast checker → · Palette generator →

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