#CFD272#CFD272

#CFD272 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.120 H 110.3°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#CFD272
RGBrgb(207, 210, 114)
HSLhsl(62, 52%, 64%)
HSVhsv(62, 46%, 82%)
CMYKcmyk(1.4%, 0%, 45.7%, 17.6%)
CIE-LABlab(82.15, -14.60, 46.95)
CIE-LCHlch(82.15, 49.17, 107.27°)
OKLaboklab(84.1% -0.0415 0.1123)
OKLCHoklch(84.1% 0.12 110.3)
XYZxyz(51.8169, 60.5745, 24.8788)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD272 #7572D2
analogous
#D2A572 #CFD272 #9FD272
triadic
#CFD272 #72CFD2 #D272CF
tetradic
#CFD272 #72D2A5 #7572D2 #D2729F
square
#CFD272 #72D2A5 #7572D2 #D2729F
split-complementary
#CFD272 #729FD2 #A572D2
monochromatic
#969931 #BFC344 #CFD272 #DFE1A0 #EFF0CF

Accessibility & contrast

On white

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

On black

13.11
#CFD272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD272
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD272#FFFFFF#000000##000000
##CFD2721.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6A
Deuteranopia (green-blind)
#E0CE77
Tritanopia (blue-blind)
#DAC8BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd272;
/* rgb */ color: rgb(207, 210, 114);
/* oklch */ color: oklch(84.1% 0.120 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf9c',
    500: '#cfd272',
    950: '#000000',
  },
}
SCSS
$custom: #cfd272;
$custom-light: #dfdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd272",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 61.875,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84103,
    "c": 0.11968,
    "h": 110.3
  },
  "luminance": 0.60573
}

Semantic roles & 50–950 ramp

primary
#CFD272
secondary
#4D4A9E
accent
#26BF2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD272

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

Preview Lab → · Contrast checker → · Palette generator →

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