#CFD245#CFD245

#CFD245 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.6% C 0.158 H 110.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CFD245
RGBrgb(207, 210, 69)
HSLhsl(61, 61%, 55%)
HSVhsv(61, 67%, 82%)
CMYKcmyk(1.4%, 0%, 67.1%, 17.6%)
CIE-LABlab(81.72, -17.99, 66.25)
CIE-LCHlch(81.72, 68.65, 105.19°)
OKLaboklab(83.63% -0.0557 0.1484)
OKLCHoklch(83.63% 0.158 110.6)
XYZxyz(49.8545, 59.7896, 14.5434)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD245 #4845D2
analogous
#D28F45 #CFD245 #88D245
triadic
#CFD245 #45CFD2 #D245CF
tetradic
#CFD245 #45D28F #4845D2 #D24588
square
#CFD245 #45D28F #4845D2 #D24588
split-complementary
#CFD245 #4588D2 #8F45D2
monochromatic
#7C7E1F #ADAF2A #CFD245 #DCDE76 #E8EAA8

Accessibility & contrast

On white

1.62
#CFD245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CFD245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD245
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD245#FFFFFF#000000##000000
##CFD2451.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C930
Deuteranopia (green-blind)
#E3CD4F
Tritanopia (blue-blind)
#DDC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd245;
/* rgb */ color: rgb(207, 210, 69);
/* oklch */ color: oklch(83.6% 0.158 110.6);
Tailwind
colors: {
  custom: {
    50: '#e1df81',
    500: '#cfd245',
    950: '#000000',
  },
}
SCSS
$custom: #cfd245;
$custom-light: #e1df81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd245",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 61.277,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83626,
    "c": 0.15848,
    "h": 110.6
  },
  "luminance": 0.59788
}

Semantic roles & 50–950 ramp

primary
#CFD245
secondary
#373686
accent
#44E447
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD245

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

Preview Lab → · Contrast checker → · Palette generator →

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