#CFDF38#CFDF38

#CFDF38 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.4% C 0.180 H 115.1°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#CFDF38
RGBrgb(207, 223, 56)
HSLhsl(66, 72%, 55%)
HSVhsv(66, 75%, 87%)
CMYKcmyk(7.2%, 0%, 74.9%, 12.5%)
CIE-LABlab(85.16, -24.93, 74.05)
CIE-LCHlch(85.16, 78.14, 108.61°)
OKLaboklab(86.36% -0.0762 0.1627)
OKLCHoklch(86.36% 0.18 115.1)
XYZxyz(52.8351, 66.3272, 13.7598)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF38 #4838DF
analogous
#DF9C38 #CFDF38 #7BDF38
triadic
#CFDF38 #38CFDF #DF38CF
tetradic
#CFDF38 #38DF9C #4838DF #DF387B
square
#CFDF38 #38DF9C #4838DF #DF387B
split-complementary
#CFDF38 #387BDF #9C38DF
monochromatic
#7C8716 #ADBC1E #CFDF38 #DCE76D #E8F0A1

Accessibility & contrast

On white

1.47
#CFDF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#CFDF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF38
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF38#FFFFFF#000000##000000
##CFDF381.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD40C
Deuteranopia (green-blind)
#EED647
Tritanopia (blue-blind)
#DDD2C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf38;
/* rgb */ color: rgb(207, 223, 56);
/* oklch */ color: oklch(86.4% 0.180 115.1);
Tailwind
colors: {
  custom: {
    50: '#e2e87b',
    500: '#cfdf38',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf38;
$custom-light: #e2e87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf38",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 56
  },
  "hsl": {
    "h": 65.749,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86356,
    "c": 0.17963,
    "h": 115.1
  },
  "luminance": 0.66326
}

Semantic roles & 50–950 ramp

primary
#CFDF38
secondary
#372E8D
accent
#39EF4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #CFDF38

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

Preview Lab → · Contrast checker → · Palette generator →

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