#CFD774#CFD774

#CFD774 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.124 H 112.8°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#CFD774
RGBrgb(207, 215, 116)
HSLhsl(65, 55%, 65%)
HSVhsv(65, 46%, 84%)
CMYKcmyk(3.7%, 0%, 46%, 15.7%)
CIE-LABlab(83.51, -16.90, 47.64)
CIE-LCHlch(83.51, 50.55, 109.53°)
OKLaboklab(85.2% -0.0479 0.1139)
OKLCHoklch(85.2% 0.124 112.8)
XYZxyz(53.1858, 63.1281, 25.9028)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD774 #7C74D7
analogous
#D7AD74 #CFD774 #9ED774
triadic
#CFD774 #74CFD7 #D774CF
tetradic
#CFD774 #74D7AD #7C74D7 #D7749E
square
#CFD774 #74D7AD #7C74D7 #D7749E
split-complementary
#CFD774 #749ED7 #AD74D7
monochromatic
#99A22F #BFC944 #CFD774 #DFE5A4 #F0F2D3

Accessibility & contrast

On white

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

On black

13.63
#CFD774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD774
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD774#FFFFFF#000000##000000
##CFD7741.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6C
Deuteranopia (green-blind)
#E4D179
Tritanopia (blue-blind)
#DACDC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd774;
/* rgb */ color: rgb(207, 215, 116);
/* oklch */ color: oklch(85.2% 0.124 112.8);
Tailwind
colors: {
  custom: {
    50: '#dfe39e',
    500: '#cfd774',
    950: '#000000',
  },
}
SCSS
$custom: #cfd774;
$custom-light: #dfe39e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd774",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 64.848,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85195,
    "c": 0.12357,
    "h": 112.8
  },
  "luminance": 0.63127
}

Semantic roles & 50–950 ramp

primary
#CFD774
secondary
#5149A6
accent
#23C330
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD774

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

Preview Lab → · Contrast checker → · Palette generator →

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