#CFD28F#CFD28F

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

Color values

HEX#CFD28F
RGBrgb(207, 210, 143)
HSLhsl(63, 43%, 69%)
HSVhsv(63, 32%, 82%)
CMYKcmyk(1.4%, 0%, 31.9%, 17.6%)
CIE-LABlab(82.56, -11.40, 32.94)
CIE-LCHlch(82.56, 34.86, 109.08°)
OKLaboklab(84.57% -0.0302 0.0818)
OKLCHoklch(84.57% 0.087 110.3)
XYZxyz(53.7369, 61.3425, 34.9907)
Luminance0.6134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD28F #928FD2
analogous
#D2B48F #CFD28F #AED28F
triadic
#CFD28F #8FCFD2 #D28FCF
tetradic
#CFD28F #8FD2B4 #928FD2 #D28FAE
square
#CFD28F #8FD2B4 #928FD2 #D28FAE
split-complementary
#CFD28F #8FAED2 #B48FD2
monochromatic
#A0A542 #BCC063 #CFD28F #E2E4BB #F4F5E6

Accessibility & contrast

On white

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

On black

13.27
#CFD28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD28F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD28F#FFFFFF#000000##000000
##CFD28F1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC8A
Deuteranopia (green-blind)
#DDCF92
Tritanopia (blue-blind)
#D8CAC1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd28f;
/* rgb */ color: rgb(207, 210, 143);
/* oklch */ color: oklch(84.6% 0.087 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedfb0',
    500: '#cfd28f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd28f;
$custom-light: #dedfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd28f",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 143
  },
  "hsl": {
    "h": 62.687,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.84566,
    "c": 0.08722,
    "h": 110.3
  },
  "luminance": 0.61342
}

Semantic roles & 50–950 ramp

primary
#CFD28F
secondary
#615DA8
accent
#30B636
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD28F

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

Preview Lab → · Contrast checker → · Palette generator →

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