#CFD173#CFD173

#CFD173 is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 83.9% C 0.117 H 109.8°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#CFD173
RGBrgb(207, 209, 115)
HSLhsl(61, 51%, 64%)
HSVhsv(61, 45%, 82%)
CMYKcmyk(1%, 0%, 45%, 18%)
CIE-LABlab(81.90, -14.00, 46.16)
CIE-LCHlch(81.90, 48.23, 106.87°)
OKLaboklab(83.9% -0.0397 0.1106)
OKLCHoklch(83.9% 0.117 109.8)
XYZxyz(51.6280, 60.1052, 25.0981)
Luminance0.6010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD173 #7573D1
analogous
#D1A473 #CFD173 #A0D173
triadic
#CFD173 #73CFD1 #D173CF
tetradic
#CFD173 #73D1A4 #7573D1 #D173A0
square
#CFD173 #73D1A4 #7573D1 #D173A0
split-complementary
#CFD173 #73A0D1 #A473D1
monochromatic
#969832 #BFC245 #CFD173 #DFE0A1 #EFEFCF

Accessibility & contrast

On white

1.61
#CFD173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#CFD173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD173
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD173#FFFFFF#000000##000000
##CFD1731.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6B
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#DAC7BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd173;
/* rgb */ color: rgb(207, 209, 115);
/* oklch */ color: oklch(83.9% 0.117 109.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf9d',
    500: '#cfd173',
    950: '#000000',
  },
}
SCSS
$custom: #cfd173;
$custom-light: #dfdf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd173",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 61.277,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83904,
    "c": 0.11748,
    "h": 109.8
  },
  "luminance": 0.60104
}

Semantic roles & 50–950 ramp

primary
#CFD173
secondary
#4D4B9D
accent
#28BE2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD173

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

Preview Lab → · Contrast checker → · Palette generator →

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