#CFD85F#CFD85F

#CFD85F is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.2% C 0.145 H 113.0°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#CFD85F
RGBrgb(207, 216, 95)
HSLhsl(64, 61%, 61%)
HSVhsv(64, 56%, 85%)
CMYKcmyk(4.2%, 0%, 56%, 15.3%)
CIE-LABlab(83.55, -19.23, 57.45)
CIE-LCHlch(83.55, 60.58, 108.51°)
OKLaboklab(85.15% -0.0565 0.1333)
OKLCHoklch(85.15% 0.145 113)
XYZxyz(52.3547, 63.2043, 20.2659)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD85F #685FD8
analogous
#D8A45F #CFD85F #92D85F
triadic
#CFD85F #5FCFD8 #D85FCF
tetradic
#CFD85F #5FD8A4 #685FD8 #D85F92
square
#CFD85F #5FD8A4 #685FD8 #D85F92
split-complementary
#CFD85F #5F92D8 #A45FD8
monochromatic
#8F9825 #BEC931 #CFD85F #DEE490 #EDF0C1

Accessibility & contrast

On white

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

On black

13.64
#CFD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD85F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD85F#FFFFFF#000000##000000
##CFD85F1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF52
Deuteranopia (green-blind)
#E6D266
Tritanopia (blue-blind)
#DBCCBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd85f;
/* rgb */ color: rgb(207, 216, 95);
/* oklch */ color: oklch(85.2% 0.145 113.0);
Tailwind
colors: {
  custom: {
    50: '#e0e390',
    500: '#cfd85f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd85f;
$custom-light: #e0e390;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd85f",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 64.463,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85153,
    "c": 0.14478,
    "h": 113
  },
  "luminance": 0.63203
}

Semantic roles & 50–950 ramp

primary
#CFD85F
secondary
#463F9C
accent
#1DC82A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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