#CFD85A#CFD85A

#CFD85A is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.149 H 112.9°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#CFD85A
RGBrgb(207, 216, 90)
HSLhsl(64, 62%, 60%)
HSVhsv(64, 58%, 85%)
CMYKcmyk(4.2%, 0%, 58.3%, 15.3%)
CIE-LABlab(83.50, -19.60, 59.59)
CIE-LCHlch(83.50, 62.73, 108.21°)
OKLaboklab(85.1% -0.0581 0.1373)
OKLCHoklch(85.1% 0.149 112.9)
XYZxyz(52.1347, 63.1163, 19.1072)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD85A #635AD8
analogous
#D8A25A #CFD85A #90D85A
triadic
#CFD85A #5ACFD8 #D85ACF
tetradic
#CFD85A #5AD8A2 #635AD8 #D85A90
square
#CFD85A #5AD8A2 #635AD8 #D85A90
split-complementary
#CFD85A #5A90D8 #A25AD8
monochromatic
#8C9523 #BBC62F #CFD85A #DDE48B #ECEFBD

Accessibility & contrast

On white

1.54
#CFD85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#CFD85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD85A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD85A#FFFFFF#000000##000000
##CFD85A1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4C
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#DCCCBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd85a;
/* rgb */ color: rgb(207, 216, 90);
/* oklch */ color: oklch(85.1% 0.149 112.9);
Tailwind
colors: {
  custom: {
    50: '#e0e38d',
    500: '#cfd85a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd85a;
$custom-light: #e0e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd85a",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 64.286,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.85101,
    "c": 0.14906,
    "h": 112.9
  },
  "luminance": 0.63115
}

Semantic roles & 50–950 ramp

primary
#CFD85A
secondary
#433D99
accent
#43E54F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD85A

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

Preview Lab → · Contrast checker → · Palette generator →

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