#CFD970#CFD970

#CFD970 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.130 H 113.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#CFD970
RGBrgb(207, 217, 112)
HSLhsl(66, 58%, 65%)
HSVhsv(66, 48%, 85%)
CMYKcmyk(4.6%, 0%, 48.4%, 14.9%)
CIE-LABlab(84.00, -18.27, 50.15)
CIE-LCHlch(84.00, 53.37, 110.02°)
OKLaboklab(85.57% -0.0521 0.1191)
OKLCHoklch(85.57% 0.13 113.6)
XYZxyz(53.4705, 64.0618, 24.8745)
Luminance0.6406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD970 #7A70D9
analogous
#D9AE70 #CFD970 #9BD970
triadic
#CFD970 #70CFD9 #D970CF
tetradic
#CFD970 #70D9AE #7A70D9 #D9709B
square
#CFD970 #70D9AE #7A70D9 #D9709B
split-complementary
#CFD970 #709BD9 #AE70D9
monochromatic
#98A32B #BFCC40 #CFD970 #DFE6A0 #EFF3D1

Accessibility & contrast

On white

1.52
#CFD970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#CFD970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD970
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD970#FFFFFF#000000##000000
##CFD9701.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D067
Deuteranopia (green-blind)
#E6D375
Tritanopia (blue-blind)
#DACFC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd970;
/* rgb */ color: rgb(207, 217, 112);
/* oklch */ color: oklch(85.6% 0.130 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe49b',
    500: '#cfd970',
    950: '#000000',
  },
}
SCSS
$custom: #cfd970;
$custom-light: #dfe49b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd970",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 65.714,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85569,
    "c": 0.13004,
    "h": 113.6
  },
  "luminance": 0.64061
}

Semantic roles & 50–950 ramp

primary
#CFD970
secondary
#5046A7
accent
#20C630
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD970

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

Preview Lab → · Contrast checker → · Palette generator →

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