#CFD770#CFD770

#CFD770 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.128 H 112.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CFD770
RGBrgb(207, 215, 112)
HSLhsl(65, 56%, 64%)
HSVhsv(65, 48%, 84%)
CMYKcmyk(3.7%, 0%, 47.9%, 15.7%)
CIE-LABlab(83.46, -17.28, 49.50)
CIE-LCHlch(83.46, 52.43, 109.24°)
OKLaboklab(85.14% -0.0493 0.1177)
OKLCHoklch(85.14% 0.128 112.7)
XYZxyz(52.9581, 63.0370, 24.7037)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD770 #7870D7
analogous
#D7AC70 #CFD770 #9CD770
triadic
#CFD770 #70CFD7 #D770CF
tetradic
#CFD770 #70D7AC #7870D7 #D7709C
square
#CFD770 #70D7AC #7870D7 #D7709C
split-complementary
#CFD770 #709CD7 #AC70D7
monochromatic
#97A02D #BFCA40 #CFD770 #DFE4A0 #EFF2D0

Accessibility & contrast

On white

1.54
#CFD770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#CFD770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD770
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD770#FFFFFF#000000##000000
##CFD7701.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF67
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#DACDBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd770;
/* rgb */ color: rgb(207, 215, 112);
/* oklch */ color: oklch(85.1% 0.128 112.7);
Tailwind
colors: {
  custom: {
    50: '#dfe39b',
    500: '#cfd770',
    950: '#000000',
  },
}
SCSS
$custom: #cfd770;
$custom-light: #dfe39b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd770",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 64.66,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85141,
    "c": 0.12764,
    "h": 112.7
  },
  "luminance": 0.63036
}

Semantic roles & 50–950 ramp

primary
#CFD770
secondary
#4E47A4
accent
#22C42E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD770

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

Preview Lab → · Contrast checker → · Palette generator →

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