#CFD161#CFD161

#CFD161 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.7% C 0.135 H 109.9°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CFD161
RGBrgb(207, 209, 97)
HSLhsl(61, 55%, 60%)
HSVhsv(61, 54%, 82%)
CMYKcmyk(1%, 0%, 53.6%, 18%)
CIE-LABlab(81.69, -15.60, 54.43)
CIE-LCHlch(81.69, 56.62, 106.00°)
OKLaboklab(83.68% -0.0461 0.127)
OKLCHoklch(83.68% 0.135 109.9)
XYZxyz(50.6915, 59.7306, 20.1658)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD161 #6361D1
analogous
#D19B61 #CFD161 #97D161
triadic
#CFD161 #61CFD1 #D161CF
tetradic
#CFD161 #61D19B #6361D1 #D16197
square
#CFD161 #61D19B #6361D1 #D16197
split-complementary
#CFD161 #6197D1 #9B61D1
monochromatic
#8C8E29 #BBBE37 #CFD161 #DDDF90 #ECEDC0

Accessibility & contrast

On white

1.62
#CFD161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#CFD161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD161
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD161#FFFFFF#000000##000000
##CFD1611.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C956
Deuteranopia (green-blind)
#E1CD67
Tritanopia (blue-blind)
#DCC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd161;
/* rgb */ color: rgb(207, 209, 97);
/* oklch */ color: oklch(83.7% 0.135 109.9);
Tailwind
colors: {
  custom: {
    50: '#e0de91',
    500: '#cfd161',
    950: '#000000',
  },
}
SCSS
$custom: #cfd161;
$custom-light: #e0de91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd161",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 61.071,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.83676,
    "c": 0.13513,
    "h": 109.9
  },
  "luminance": 0.59729
}

Semantic roles & 50–950 ramp

primary
#CFD161
secondary
#434294
accent
#4ADE4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD161

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

Preview Lab → · Contrast checker → · Palette generator →

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