#CEC671#CEC671

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

Color values

HEX#CEC671
RGBrgb(206, 198, 113)
HSLhsl(55, 49%, 63%)
HSVhsv(55, 45%, 81%)
CMYKcmyk(0%, 3.9%, 45.1%, 19.2%)
CIE-LABlab(78.87, -9.02, 43.40)
CIE-LCHlch(78.87, 44.33, 101.74°)
OKLaboklab(81.47% -0.0256 0.1043)
OKLCHoklch(81.47% 0.107 103.8)
XYZxyz(48.6294, 54.7036, 23.6168)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC671 #7179CE
analogous
#CE9871 #CEC671 #A7CE71
triadic
#CEC671 #71CEC6 #C671CE
tetradic
#CEC671 #71CE98 #7179CE #CE71A7
square
#CEC671 #71CE98 #7179CE #CE71A7
split-complementary
#CEC671 #71A7CE #9871CE
monochromatic
#928A32 #BEB444 #CEC671 #DED89E #EDEBCC

Accessibility & contrast

On white

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

On black

11.94
#CEC671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC671
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC671#FFFFFF#000000##000000
##CEC6711.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec671;
/* rgb */ color: rgb(206, 198, 113);
/* oklch */ color: oklch(81.5% 0.107 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded79b',
    500: '#cec671',
    950: '#000000',
  },
}
SCSS
$custom: #cec671;
$custom-light: #ded79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec671",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 54.839,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81471,
    "c": 0.1074,
    "h": 103.8
  },
  "luminance": 0.54702
}

Semantic roles & 50–950 ramp

primary
#CEC671
secondary
#4B5298
accent
#36BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC671

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

Preview Lab → · Contrast checker → · Palette generator →

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