#CFD27F#CFD27F

#CFD27F is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.106 H 110.3°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#CFD27F
RGBrgb(207, 210, 127)
HSLhsl(62, 48%, 66%)
HSVhsv(62, 40%, 82%)
CMYKcmyk(1.4%, 0%, 39.5%, 17.6%)
CIE-LABlab(82.32, -13.26, 40.76)
CIE-LCHlch(82.32, 42.86, 108.03°)
OKLaboklab(84.29% -0.0366 0.0992)
OKLCHoklch(84.29% 0.106 110.3)
XYZxyz(52.6101, 60.8918, 29.0564)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD27F #827FD2
analogous
#D2AB7F #CFD27F #A5D27F
triadic
#CFD27F #7FCFD2 #D27FCF
tetradic
#CFD27F #7FD2AB #827FD2 #D27FA5
square
#CFD27F #7FD2AB #827FD2 #D27FA5
split-complementary
#CFD27F #7FA5D2 #AB7FD2
monochromatic
#9B9F38 #BEC252 #CFD27F #E0E2AC #F1F2DA

Accessibility & contrast

On white

1.59
#CFD27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#CFD27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD27F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD27F#FFFFFF#000000##000000
##CFD27F1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB79
Deuteranopia (green-blind)
#DFCE83
Tritanopia (blue-blind)
#D9C9BE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd27f;
/* rgb */ color: rgb(207, 210, 127);
/* oklch */ color: oklch(84.3% 0.106 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdfa5',
    500: '#cfd27f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd27f;
$custom-light: #dfdfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd27f",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 127
  },
  "hsl": {
    "h": 62.169,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.84294,
    "c": 0.1057,
    "h": 110.3
  },
  "luminance": 0.60891
}

Semantic roles & 50–950 ramp

primary
#CFD27F
secondary
#5451A4
accent
#2ABB2F
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD27F

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

Preview Lab → · Contrast checker → · Palette generator →

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