#CFC671#CFC671

#CFC671 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.107 H 103.2°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CFC671
RGBrgb(207, 198, 113)
HSLhsl(54, 49%, 63%)
HSVhsv(54, 45%, 81%)
CMYKcmyk(0%, 4.3%, 45.4%, 18.8%)
CIE-LABlab(78.95, -8.61, 43.52)
CIE-LCHlch(78.95, 44.37, 101.19°)
OKLaboklab(81.56% -0.0245 0.1046)
OKLCHoklch(81.56% 0.107 103.2)
XYZxyz(48.9080, 54.8473, 23.6298)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC671 #717ACF
analogous
#CF9771 #CFC671 #A9CF71
triadic
#CFC671 #71CFC6 #C671CF
tetradic
#CFC671 #71CF97 #717ACF #CF71A9
square
#CFC671 #71CF97 #717ACF #CF71A9
split-complementary
#CFC671 #71A9CF #9771CF
monochromatic
#948A32 #C0B443 #CFC671 #DED89F #EEEBCC

Accessibility & contrast

On white

1.75
#CFC671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CFC671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC671
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC671#FFFFFF#000000##000000
##CFC6711.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16A
Deuteranopia (green-blind)
#D7C675
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc671;
/* rgb */ color: rgb(207, 198, 113);
/* oklch */ color: oklch(81.6% 0.107 103.2);
Tailwind
colors: {
  custom: {
    50: '#dfd79b',
    500: '#cfc671',
    950: '#000000',
  },
}
SCSS
$custom: #cfc671;
$custom-light: #dfd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc671",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 54.255,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81557,
    "c": 0.10738,
    "h": 103.2
  },
  "luminance": 0.54846
}

Semantic roles & 50–950 ramp

primary
#CFC671
secondary
#4B529A
accent
#37BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC671

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

Preview Lab → · Contrast checker → · Palette generator →

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