#CFD26F#CFD26F

#CFD26F is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.123 H 110.3°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#CFD26F
RGBrgb(207, 210, 111)
HSLhsl(62, 52%, 63%)
HSVhsv(62, 47%, 82%)
CMYKcmyk(1.4%, 0%, 47.1%, 17.6%)
CIE-LABlab(82.11, -14.89, 48.36)
CIE-LCHlch(82.11, 50.60, 107.11°)
OKLaboklab(84.06% -0.0426 0.1151)
OKLCHoklch(84.06% 0.123 110.3)
XYZxyz(51.6489, 60.5074, 23.9942)
Luminance0.6051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD26F #726FD2
analogous
#D2A36F #CFD26F #9DD26F
triadic
#CFD26F #6FCFD2 #D26FCF
tetradic
#CFD26F #6FD2A3 #726FD2 #D26F9D
square
#CFD26F #6FD2A3 #726FD2 #D26F9D
split-complementary
#CFD26F #6F9DD2 #A36FD2
monochromatic
#94972F #BFC340 #CFD26F #DFE19E #EEEFCC

Accessibility & contrast

On white

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

On black

13.10
#CFD26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD26F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD26F#FFFFFF#000000##000000
##CFD26F1.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB66
Deuteranopia (green-blind)
#E0CE74
Tritanopia (blue-blind)
#DBC8BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd26f;
/* rgb */ color: rgb(207, 210, 111);
/* oklch */ color: oklch(84.1% 0.123 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf9a',
    500: '#cfd26f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd26f;
$custom-light: #dfdf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd26f",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 111
  },
  "hsl": {
    "h": 61.818,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84062,
    "c": 0.12275,
    "h": 110.3
  },
  "luminance": 0.60506
}

Semantic roles & 50–950 ramp

primary
#CFD26F
secondary
#4B499D
accent
#26C02A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD26F

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

Preview Lab → · Contrast checker → · Palette generator →

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