#CFD740#CFD740

#CFD740 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.7% C 0.167 H 112.5°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#CFD740
RGBrgb(207, 215, 64)
HSLhsl(63, 65%, 55%)
HSVhsv(63, 70%, 84%)
CMYKcmyk(3.7%, 0%, 70.2%, 15.7%)
CIE-LABlab(83.04, -20.70, 69.39)
CIE-LCHlch(83.04, 72.41, 106.61°)
OKLaboklab(84.67% -0.0638 0.1542)
OKLCHoklch(84.67% 0.167 112.5)
XYZxyz(50.9596, 62.2376, 14.1781)
Luminance0.6224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD740 #4840D7
analogous
#D79440 #CFD740 #83D740
triadic
#CFD740 #40CFD7 #D740CF
tetradic
#CFD740 #40D794 #4840D7 #D74083
square
#CFD740 #40D794 #4840D7 #D74083
split-complementary
#CFD740 #4083D7 #9440D7
monochromatic
#7C811B #ADB426 #CFD740 #DCE273 #E8ECA5

Accessibility & contrast

On white

1.56
#CFD740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#CFD740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD740
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD740#FFFFFF#000000##000000
##CFD7401.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD25
Deuteranopia (green-blind)
#E7D14C
Tritanopia (blue-blind)
#DDCABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd740;
/* rgb */ color: rgb(207, 215, 64);
/* oklch */ color: oklch(84.7% 0.167 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e37e',
    500: '#cfd740',
    950: '#000000',
  },
}
SCSS
$custom: #cfd740;
$custom-light: #e1e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd740",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 63.179,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84668,
    "c": 0.16682,
    "h": 112.5
  },
  "luminance": 0.62236
}

Semantic roles & 50–950 ramp

primary
#CFD740
secondary
#373388
accent
#3FE848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD740

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

Preview Lab → · Contrast checker → · Palette generator →

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