#CFD45F#CFD45F

#CFD45F is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.140 H 111.3°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#CFD45F
RGBrgb(207, 212, 95)
HSLhsl(63, 58%, 60%)
HSVhsv(63, 55%, 83%)
CMYKcmyk(2.4%, 0%, 55.2%, 16.9%)
CIE-LABlab(82.48, -17.25, 56.23)
CIE-LCHlch(82.48, 58.82, 107.06°)
OKLaboklab(84.3% -0.0509 0.1307)
OKLCHoklch(84.3% 0.14 111.3)
XYZxyz(51.3424, 61.1797, 19.9285)
Luminance0.6118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD45F #645FD4
analogous
#D49E5F #CFD45F #95D45F
triadic
#CFD45F #5FCFD4 #D45FCF
tetradic
#CFD45F #5FD49E #645FD4 #D45F95
square
#CFD45F #5FD49E #645FD4 #D45F95
split-complementary
#CFD45F #5F95D4 #9E5FD4
monochromatic
#8D9127 #BCC234 #CFD45F #DDE18F #ECEEBF

Accessibility & contrast

On white

1.59
#CFD45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#CFD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD45F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD45F#FFFFFF#000000##000000
##CFD45F1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB53
Deuteranopia (green-blind)
#E3CF66
Tritanopia (blue-blind)
#DCC8BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd45f;
/* rgb */ color: rgb(207, 212, 95);
/* oklch */ color: oklch(84.3% 0.140 111.3);
Tailwind
colors: {
  custom: {
    50: '#e0e190',
    500: '#cfd45f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd45f;
$custom-light: #e0e190;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd45f",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 62.564,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84295,
    "c": 0.14027,
    "h": 111.3
  },
  "luminance": 0.61179
}

Semantic roles & 50–950 ramp

primary
#CFD45F
secondary
#444097
accent
#20C527
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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