#CFD25F#CFD25F

#CFD25F is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.138 H 110.4°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#CFD25F
RGBrgb(207, 210, 95)
HSLhsl(62, 56%, 60%)
HSVhsv(62, 55%, 82%)
CMYKcmyk(1.4%, 0%, 54.8%, 17.6%)
CIE-LABlab(81.94, -16.26, 55.62)
CIE-LCHlch(81.94, 57.95, 106.30°)
OKLaboklab(83.87% -0.0481 0.1294)
OKLCHoklch(83.87% 0.138 110.4)
XYZxyz(50.8455, 60.1860, 19.7629)
Luminance0.6018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD25F #625FD2
analogous
#D29B5F #CFD25F #96D25F
triadic
#CFD25F #5FCFD2 #D25FCF
tetradic
#CFD25F #5FD29B #625FD2 #D25F96
square
#CFD25F #5FD29B #625FD2 #D25F96
split-complementary
#CFD25F #5F96D2 #9B5FD2
monochromatic
#8C8F28 #BBBE36 #CFD25F #DDDF8F #ECEDBF

Accessibility & contrast

On white

1.61
#CFD25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#CFD25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD25F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD25F#FFFFFF#000000##000000
##CFD25F1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#E2CD65
Tritanopia (blue-blind)
#DCC6B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd25f;
/* rgb */ color: rgb(207, 210, 95);
/* oklch */ color: oklch(83.9% 0.138 110.4);
Tailwind
colors: {
  custom: {
    50: '#e0df90',
    500: '#cfd25f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd25f;
$custom-light: #e0df90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd25f",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 61.565,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83867,
    "c": 0.13804,
    "h": 110.4
  },
  "luminance": 0.60185
}

Semantic roles & 50–950 ramp

primary
#CFD25F
secondary
#434194
accent
#48DF4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD25F

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

Preview Lab → · Contrast checker → · Palette generator →

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