#CFD97A#CFD97A

#CFD97A is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.120 H 113.9°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#CFD97A
RGBrgb(207, 217, 122)
HSLhsl(66, 56%, 66%)
HSVhsv(66, 44%, 85%)
CMYKcmyk(4.6%, 0%, 43.8%, 14.9%)
CIE-LABlab(84.12, -17.29, 45.48)
CIE-LCHlch(84.12, 48.66, 110.81°)
OKLaboklab(85.71% -0.0485 0.1095)
OKLCHoklch(85.71% 0.12 113.9)
XYZxyz(54.0585, 64.2970, 27.9714)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD97A #847AD9
analogous
#D9B47A #CFD97A #A0D97A
triadic
#CFD97A #7ACFD9 #D97ACF
tetradic
#CFD97A #7AD9B4 #847AD9 #D97AA0
square
#CFD97A #7AD9B4 #847AD9 #D97AA0
split-complementary
#CFD97A #7AA0D9 #B47AD9
monochromatic
#9CA830 #BECB4A #CFD97A #E0E7AA #F1F4D9

Accessibility & contrast

On white

1.52
#CFD97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#CFD97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD97A
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD97A#FFFFFF#000000##000000
##CFD97A1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D172
Deuteranopia (green-blind)
#E5D37F
Tritanopia (blue-blind)
#D9CFC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd97a;
/* rgb */ color: rgb(207, 217, 122);
/* oklch */ color: oklch(85.7% 0.120 113.9);
Tailwind
colors: {
  custom: {
    50: '#dfe4a2',
    500: '#cfd97a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd97a;
$custom-light: #dfe4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd97a",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 66.316,
    "s": 55.556,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85707,
    "c": 0.11977,
    "h": 113.9
  },
  "luminance": 0.64296
}

Semantic roles & 50–950 ramp

primary
#CFD97A
secondary
#564CAC
accent
#22C333
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD97A

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

Preview Lab → · Contrast checker → · Palette generator →

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