#CFD370#CFD370

#CFD370 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.123 H 110.8°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#CFD370
RGBrgb(207, 211, 112)
HSLhsl(62, 53%, 63%)
HSVhsv(62, 47%, 83%)
CMYKcmyk(1.9%, 0%, 46.9%, 17.3%)
CIE-LABlab(82.39, -15.29, 48.21)
CIE-LCHlch(82.39, 50.58, 107.60°)
OKLaboklab(84.29% -0.0437 0.1149)
OKLCHoklch(84.29% 0.123 110.8)
XYZxyz(51.9520, 61.0248, 24.3683)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD370 #7470D3
analogous
#D3A570 #CFD370 #9DD370
triadic
#CFD370 #70CFD3 #D370CF
tetradic
#CFD370 #70D3A5 #7470D3 #D3709D
square
#CFD370 #70D3A5 #7470D3 #D3709D
split-complementary
#CFD370 #709DD3 #A570D3
monochromatic
#95992F #BFC541 #CFD370 #DFE19F #EEF0CE

Accessibility & contrast

On white

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

On black

13.20
#CFD370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD370
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD370#FFFFFF#000000##000000
##CFD3701.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd370;
/* rgb */ color: rgb(207, 211, 112);
/* oklch */ color: oklch(84.3% 0.123 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe09b',
    500: '#cfd370',
    950: '#000000',
  },
}
SCSS
$custom: #cfd370;
$custom-light: #dfe09b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd370",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 112
  },
  "hsl": {
    "h": 62.424,
    "s": 52.941,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84288,
    "c": 0.1229,
    "h": 110.8
  },
  "luminance": 0.61024
}

Semantic roles & 50–950 ramp

primary
#CFD370
secondary
#4C499E
accent
#25C02B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD370

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

Preview Lab → · Contrast checker → · Palette generator →

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