#CFD56F#CFD56F

#CFD56F is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.7% C 0.126 H 111.8°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#CFD56F
RGBrgb(207, 213, 111)
HSLhsl(64, 55%, 64%)
HSVhsv(64, 48%, 84%)
CMYKcmyk(2.8%, 0%, 47.9%, 16.5%)
CIE-LABlab(82.91, -16.38, 49.32)
CIE-LCHlch(82.91, 51.97, 108.37°)
OKLaboklab(84.7% -0.0469 0.1172)
OKLCHoklch(84.7% 0.126 111.8)
XYZxyz(52.3966, 62.0026, 24.2434)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD56F #756FD5
analogous
#D5A86F #CFD56F #9CD56F
triadic
#CFD56F #6FCFD5 #D56FCF
tetradic
#CFD56F #6FD5A8 #756FD5 #D56F9C
square
#CFD56F #6FD5A8 #756FD5 #D56F9C
split-complementary
#CFD56F #6F9CD5 #A86FD5
monochromatic
#969C2E #BFC740 #CFD56F #DFE39E #EFF1CE

Accessibility & contrast

On white

1.57
#CFD56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#CFD56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD56F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD56F#FFFFFF#000000##000000
##CFD56F1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD66
Deuteranopia (green-blind)
#E3D074
Tritanopia (blue-blind)
#DACABD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd56f;
/* rgb */ color: rgb(207, 213, 111);
/* oklch */ color: oklch(84.7% 0.126 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfe19a',
    500: '#cfd56f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd56f;
$custom-light: #dfe19a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd56f",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 63.529,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84701,
    "c": 0.12626,
    "h": 111.8
  },
  "luminance": 0.62002
}

Semantic roles & 50–950 ramp

primary
#CFD56F
secondary
#4D48A1
accent
#23C22D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD56F

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

Preview Lab → · Contrast checker → · Palette generator →

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