#CFD156#CFD156

#CFD156 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.145 H 110.0°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CFD156
RGBrgb(207, 209, 86)
HSLhsl(61, 57%, 58%)
HSVhsv(61, 59%, 82%)
CMYKcmyk(1%, 0%, 58.9%, 18%)
CIE-LABlab(81.59, -16.43, 59.21)
CIE-LCHlch(81.59, 61.44, 105.51°)
OKLaboklab(83.56% -0.0496 0.1359)
OKLCHoklch(83.56% 0.145 110)
XYZxyz(50.2137, 59.5395, 17.6494)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD156 #5856D1
analogous
#D19656 #CFD156 #91D156
triadic
#CFD156 #56CFD1 #D156CF
tetradic
#CFD156 #56D196 #5856D1 #D15691
square
#CFD156 #56D196 #5856D1 #D15691
split-complementary
#CFD156 #5691D1 #9656D1
monochromatic
#868825 #B6B832 #CFD156 #DDDE86 #EAEBB6

Accessibility & contrast

On white

1.63
#CFD156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CFD156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD156
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD156#FFFFFF#000000##000000
##CFD1561.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C948
Deuteranopia (green-blind)
#E1CD5D
Tritanopia (blue-blind)
#DCC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd156;
/* rgb */ color: rgb(207, 209, 86);
/* oklch */ color: oklch(83.6% 0.145 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0de8a',
    500: '#cfd156',
    950: '#000000',
  },
}
SCSS
$custom: #cfd156;
$custom-light: #e0de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd156",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 60.976,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83559,
    "c": 0.14471,
    "h": 110
  },
  "luminance": 0.59538
}

Semantic roles & 50–950 ramp

primary
#CFD156
secondary
#3E3D8E
accent
#47E04A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD156

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

Preview Lab → · Contrast checker → · Palette generator →

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