#CFD279#CFD279

#CFD279 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.112 H 110.3°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#CFD279
RGBrgb(207, 210, 121)
HSLhsl(62, 50%, 65%)
HSVhsv(62, 42%, 82%)
CMYKcmyk(1.4%, 0%, 42.4%, 17.6%)
CIE-LABlab(82.24, -13.90, 43.64)
CIE-LCHlch(82.24, 45.80, 107.67°)
OKLaboklab(84.2% -0.0389 0.1053)
OKLCHoklch(84.2% 0.112 110.3)
XYZxyz(52.2307, 60.7401, 27.0580)
Luminance0.6074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD279 #7C79D2
analogous
#D2A879 #CFD279 #A3D279
triadic
#CFD279 #79CFD2 #D279CF
tetradic
#CFD279 #79D2A8 #7C79D2 #D279A3
square
#CFD279 #79D2A8 #7C79D2 #D279A3
split-complementary
#CFD279 #79A3D2 #A879D2
monochromatic
#999C34 #BFC34B #CFD279 #DFE1A7 #F0F1D5

Accessibility & contrast

On white

1.60
#CFD279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#CFD279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD279
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD279#FFFFFF#000000##000000
##CFD2791.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB72
Deuteranopia (green-blind)
#DFCE7D
Tritanopia (blue-blind)
#DAC8BD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd279;
/* rgb */ color: rgb(207, 210, 121);
/* oklch */ color: oklch(84.2% 0.112 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdfa1',
    500: '#cfd279',
    950: '#000000',
  },
}
SCSS
$custom: #cfd279;
$custom-light: #dfdfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd279",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 121
  },
  "hsl": {
    "h": 62.022,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84203,
    "c": 0.11228,
    "h": 110.3
  },
  "luminance": 0.60739
}

Semantic roles & 50–950 ramp

primary
#CFD279
secondary
#514EA1
accent
#28BD2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD279

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

Preview Lab → · Contrast checker → · Palette generator →

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