#CFC673#CFC673

#CFC673 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.105 H 103.0°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CFC673
RGBrgb(207, 198, 115)
HSLhsl(54, 49%, 63%)
HSVhsv(54, 44%, 81%)
CMYKcmyk(0%, 4.3%, 44.4%, 18.8%)
CIE-LABlab(78.98, -8.42, 42.56)
CIE-LCHlch(78.98, 43.39, 101.19°)
OKLaboklab(81.59% -0.0237 0.1026)
OKLCHoklch(81.59% 0.105 103)
XYZxyz(49.0218, 54.8928, 24.2294)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC673 #737CCF
analogous
#CF9873 #CFC673 #AACF73
triadic
#CFC673 #73CFC6 #C673CF
tetradic
#CFC673 #73CF98 #737CCF #CF73AA
square
#CFC673 #73CF98 #737CCF #CF73AA
split-complementary
#CFC673 #73AACF #9873CF
monochromatic
#958B33 #BFB345 #CFC673 #DFD9A1 #EEEBCE

Accessibility & contrast

On white

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

On black

11.98
#CFC673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC673
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC673#FFFFFF#000000##000000
##CFC6731.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16C
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc673;
/* rgb */ color: rgb(207, 198, 115);
/* oklch */ color: oklch(81.6% 0.105 103.0);
Tailwind
colors: {
  custom: {
    50: '#dfd79d',
    500: '#cfc673',
    950: '#000000',
  },
}
SCSS
$custom: #cfc673;
$custom-light: #dfd79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc673",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 115
  },
  "hsl": {
    "h": 54.13,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81587,
    "c": 0.10525,
    "h": 103
  },
  "luminance": 0.54891
}

Semantic roles & 50–950 ramp

primary
#CFC673
secondary
#4C539B
accent
#38BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC673

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

Preview Lab → · Contrast checker → · Palette generator →

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