#CFD56C#CFD56C

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

Color values

HEX#CFD56C
RGBrgb(207, 213, 108)
HSLhsl(63, 56%, 63%)
HSVhsv(63, 49%, 84%)
CMYKcmyk(2.8%, 0%, 49.3%, 16.5%)
CIE-LABlab(82.88, -16.66, 50.71)
CIE-LCHlch(82.88, 53.37, 108.18°)
OKLaboklab(84.66% -0.0479 0.12)
OKLCHoklch(84.66% 0.129 111.8)
XYZxyz(52.2341, 61.9376, 23.3880)
Luminance0.6194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD56C #726CD5
analogous
#D5A76C #CFD56C #9AD56C
triadic
#CFD56C #6CCFD5 #D56CCF
tetradic
#CFD56C #6CD5A7 #726CD5 #D56C9A
square
#CFD56C #6CD5A7 #726CD5 #D56C9A
split-complementary
#CFD56C #6C9AD5 #A76CD5
monochromatic
#949A2C #BFC73C #CFD56C #DFE39C #EEF0CB

Accessibility & contrast

On white

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

On black

13.39
#CFD56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD56C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD56C#FFFFFF#000000##000000
##CFD56C1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD62
Deuteranopia (green-blind)
#E3D071
Tritanopia (blue-blind)
#DBCABD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd56c;
/* rgb */ color: rgb(207, 213, 108);
/* oklch */ color: oklch(84.7% 0.129 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfe199',
    500: '#cfd56c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd56c;
$custom-light: #dfe199;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd56c",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 63.429,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84662,
    "c": 0.12924,
    "h": 111.8
  },
  "luminance": 0.61937
}

Semantic roles & 50–950 ramp

primary
#CFD56C
secondary
#4B469F
accent
#22C32C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD56C

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

Preview Lab → · Contrast checker → · Palette generator →

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