#CEC673#CEC673

#CEC673 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.105 H 103.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CEC673
RGBrgb(206, 198, 115)
HSLhsl(55, 48%, 63%)
HSVhsv(55, 44%, 81%)
CMYKcmyk(0%, 3.9%, 44.2%, 19.2%)
CIE-LABlab(78.90, -8.82, 42.44)
CIE-LCHlch(78.90, 43.35, 101.74°)
OKLaboklab(81.5% -0.0248 0.1023)
OKLCHoklch(81.5% 0.105 103.6)
XYZxyz(48.7433, 54.7492, 24.2163)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC673 #737BCE
analogous
#CE9873 #CEC673 #A8CE73
triadic
#CEC673 #73CEC6 #C673CE
tetradic
#CEC673 #73CE98 #737BCE #CE73A8
square
#CEC673 #73CE98 #737BCE #CE73A8
split-complementary
#CEC673 #73A8CE #9873CE
monochromatic
#938B33 #BEB446 #CEC673 #DED8A0 #EEEBCE

Accessibility & contrast

On white

1.76
#CEC673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CEC673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC673
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC673#FFFFFF#000000##000000
##CEC6731.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16C
Deuteranopia (green-blind)
#D6C577
Tritanopia (blue-blind)
#DABCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec673;
/* rgb */ color: rgb(206, 198, 115);
/* oklch */ color: oklch(81.5% 0.105 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded79d',
    500: '#cec673',
    950: '#000000',
  },
}
SCSS
$custom: #cec673;
$custom-light: #ded79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec673",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 115
  },
  "hsl": {
    "h": 54.725,
    "s": 48.148,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81501,
    "c": 0.10526,
    "h": 103.6
  },
  "luminance": 0.54748
}

Semantic roles & 50–950 ramp

primary
#CEC673
secondary
#4C5399
accent
#37BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC673

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

Preview Lab → · Contrast checker → · Palette generator →

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