#CFE173#CFE173

#CFE173 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.3% C 0.137 H 117.0°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#CFE173
RGBrgb(207, 225, 115)
HSLhsl(70, 65%, 67%)
HSVhsv(70, 49%, 88%)
CMYKcmyk(8%, 0%, 48.9%, 11.8%)
CIE-LABlab(86.18, -21.90, 51.35)
CIE-LCHlch(86.18, 55.82, 113.09°)
OKLaboklab(87.33% -0.0621 0.122)
OKLCHoklch(87.33% 0.137 117)
XYZxyz(55.7525, 68.3542, 26.4729)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE173 #8573E1
analogous
#E1BC73 #CFE173 #98E173
triadic
#CFE173 #73CFE1 #E173CF
tetradic
#CFE173 #73E1BC #8573E1 #E17398
square
#CFE173 #73E1BC #8573E1 #E17398
split-complementary
#CFE173 #7398E1 #BC73E1
monochromatic
#9CB326 #BED641 #CFE173 #E0ECA5 #F2F7D8

Accessibility & contrast

On white

1.43
#CFE173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#CFE173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE173
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE173#FFFFFF#000000##000000
##CFE1731.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED769
Deuteranopia (green-blind)
#ECD879
Tritanopia (blue-blind)
#D9D7C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe173;
/* rgb */ color: rgb(207, 225, 115);
/* oklch */ color: oklch(87.3% 0.137 117.0);
Tailwind
colors: {
  custom: {
    50: '#dfea9e',
    500: '#cfe173',
    950: '#000000',
  },
}
SCSS
$custom: #cfe173;
$custom-light: #dfea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe173",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 69.818,
    "s": 64.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87328,
    "c": 0.13693,
    "h": 117
  },
  "luminance": 0.68354
}

Semantic roles & 50–950 ramp

primary
#CFE173
secondary
#5644B4
accent
#19CD36
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CFE173

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

Preview Lab → · Contrast checker → · Palette generator →

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