#CFD291#CFD291

#CFD291 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.6% C 0.085 H 110.3°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#CFD291
RGBrgb(207, 210, 145)
HSLhsl(63, 42%, 70%)
HSVhsv(63, 31%, 82%)
CMYKcmyk(1.4%, 0%, 31%, 17.6%)
CIE-LABlab(82.60, -11.15, 31.96)
CIE-LCHlch(82.60, 33.85, 109.23°)
OKLaboklab(84.6% -0.0294 0.0796)
OKLCHoklch(84.6% 0.085 110.3)
XYZxyz(53.8898, 61.4037, 35.7958)
Luminance0.6140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD291 #9491D2
analogous
#D2B591 #CFD291 #AFD291
triadic
#CFD291 #91CFD2 #D291CF
tetradic
#CFD291 #91D2B5 #9491D2 #D291AF
square
#CFD291 #91D2B5 #9491D2 #D291AF
split-complementary
#CFD291 #91AFD2 #B591D2
monochromatic
#A1A544 #BCC066 #CFD291 #E2E4BC #F5F6E8

Accessibility & contrast

On white

1.58
#CFD291 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#CFD291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD291
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD291#FFFFFF#000000##000000
##CFD2911.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC8D
Deuteranopia (green-blind)
#DCCF94
Tritanopia (blue-blind)
#D8CAC1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd291;
/* rgb */ color: rgb(207, 210, 145);
/* oklch */ color: oklch(84.6% 0.085 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedfb2',
    500: '#cfd291',
    950: '#000000',
  },
}
SCSS
$custom: #cfd291;
$custom-light: #dedfb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd291",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 145
  },
  "hsl": {
    "h": 62.769,
    "s": 41.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84603,
    "c": 0.08482,
    "h": 110.3
  },
  "luminance": 0.61403
}

Semantic roles & 50–950 ramp

primary
#CFD291
secondary
#635FA8
accent
#30B537
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151511
muted
#848481

Preview Lab

Preview with #CFD291

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

Preview Lab → · Contrast checker → · Palette generator →

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