#CFD95A#CFD95A

#CFD95A is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.150 H 113.3°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#CFD95A
RGBrgb(207, 217, 90)
HSLhsl(65, 63%, 60%)
HSVhsv(65, 59%, 85%)
CMYKcmyk(4.6%, 0%, 58.5%, 14.9%)
CIE-LABlab(83.77, -20.09, 59.88)
CIE-LCHlch(83.77, 63.16, 108.55°)
OKLaboklab(85.32% -0.0595 0.1379)
OKLCHoklch(85.32% 0.15 113.3)
XYZxyz(52.3917, 63.6303, 19.1928)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD95A #645AD9
analogous
#D9A35A #CFD95A #90D95A
triadic
#CFD95A #5ACFD9 #D95ACF
tetradic
#CFD95A #5AD9A3 #645AD9 #D95A90
square
#CFD95A #5AD9A3 #645AD9 #D95A90
split-complementary
#CFD95A #5A90D9 #A35AD9
monochromatic
#8D9623 #BCC82E #CFD95A #DDE48C #ECF0BD

Accessibility & contrast

On white

1.53
#CFD95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#CFD95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD95A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD95A#FFFFFF#000000##000000
##CFD95A1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF4C
Deuteranopia (green-blind)
#E8D262
Tritanopia (blue-blind)
#DBCDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd95a;
/* rgb */ color: rgb(207, 217, 90);
/* oklch */ color: oklch(85.3% 0.150 113.3);
Tailwind
colors: {
  custom: {
    50: '#e0e48d',
    500: '#cfd95a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd95a;
$custom-light: #e0e48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd95a",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 64.724,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85317,
    "c": 0.15018,
    "h": 113.3
  },
  "luminance": 0.63629
}

Semantic roles & 50–950 ramp

primary
#CFD95A
secondary
#443C9B
accent
#1BCA29
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD95A

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

Preview Lab → · Contrast checker → · Palette generator →

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