#CFD072#CFD072

#CFD072 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.117 H 109.2°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CFD072
RGBrgb(207, 208, 114)
HSLhsl(61, 50%, 63%)
HSVhsv(61, 45%, 82%)
CMYKcmyk(0.5%, 0%, 45.2%, 18.4%)
CIE-LABlab(81.62, -13.60, 46.30)
CIE-LCHlch(81.62, 48.26, 106.36°)
OKLaboklab(83.68% -0.0386 0.1108)
OKLCHoklch(83.68% 0.117 109.2)
XYZxyz(51.3262, 59.5932, 24.7152)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD072 #7372D0
analogous
#D0A272 #CFD072 #A0D072
triadic
#CFD072 #72CFD0 #D072CF
tetradic
#CFD072 #72D0A2 #7372D0 #D072A0
square
#CFD072 #72D0A2 #7372D0 #D072A0
split-complementary
#CFD072 #72A0D0 #A272D0
monochromatic
#959632 #BFC144 #CFD072 #DFDFA0 #EEEFCE

Accessibility & contrast

On white

1.63
#CFD072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#CFD072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD072
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD072#FFFFFF#000000##000000
##CFD0721.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96A
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#DBC6BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd072;
/* rgb */ color: rgb(207, 208, 114);
/* oklch */ color: oklch(83.7% 0.117 109.2);
Tailwind
colors: {
  custom: {
    50: '#dfde9c',
    500: '#cfd072',
    950: '#000000',
  },
}
SCSS
$custom: #cfd072;
$custom-light: #dfde9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd072",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 60.638,
    "s": 50,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83678,
    "c": 0.11736,
    "h": 109.2
  },
  "luminance": 0.59592
}

Semantic roles & 50–950 ramp

primary
#CFD072
secondary
#4C4B9B
accent
#28BD2A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD072

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

Preview Lab → · Contrast checker → · Palette generator →

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