#CFD373#CFD373

#CFD373 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.3% C 0.120 H 110.8°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#CFD373
RGBrgb(207, 211, 115)
HSLhsl(63, 52%, 64%)
HSVhsv(63, 45%, 83%)
CMYKcmyk(1.9%, 0%, 45.5%, 17.3%)
CIE-LABlab(82.43, -15.00, 46.81)
CIE-LCHlch(82.43, 49.15, 107.77°)
OKLaboklab(84.33% -0.0426 0.112)
OKLCHoklch(84.33% 0.12 110.8)
XYZxyz(52.1218, 61.0927, 25.2627)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD373 #7773D3
analogous
#D3A773 #CFD373 #9FD373
triadic
#CFD373 #73CFD3 #D373CF
tetradic
#CFD373 #73D3A7 #7773D3 #D3739F
square
#CFD373 #73D3A7 #7773D3 #D3739F
split-complementary
#CFD373 #739FD3 #A773D3
monochromatic
#969B31 #BFC444 #CFD373 #DFE2A2 #EFF0D0

Accessibility & contrast

On white

1.59
#CFD373 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#CFD373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD373
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD373#FFFFFF#000000##000000
##CFD3731.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC6B
Deuteranopia (green-blind)
#E1CF78
Tritanopia (blue-blind)
#DAC9BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd373;
/* rgb */ color: rgb(207, 211, 115);
/* oklch */ color: oklch(84.3% 0.120 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe09d',
    500: '#cfd373',
    950: '#000000',
  },
}
SCSS
$custom: #cfd373;
$custom-light: #dfe09d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd373",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 115
  },
  "hsl": {
    "h": 62.5,
    "s": 52.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84329,
    "c": 0.11982,
    "h": 110.8
  },
  "luminance": 0.61092
}

Semantic roles & 50–950 ramp

primary
#CFD373
secondary
#4E4AA0
accent
#26C02C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD373

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

Preview Lab → · Contrast checker → · Palette generator →

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