#CFD837#CFD837

#CFD837 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.8% C 0.173 H 112.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#CFD837
RGBrgb(207, 216, 55)
HSLhsl(63, 67%, 53%)
HSVhsv(63, 75%, 85%)
CMYKcmyk(4.2%, 0%, 74.5%, 15.3%)
CIE-LABlab(83.26, -21.60, 72.60)
CIE-LCHlch(83.26, 75.75, 106.57°)
OKLaboklab(84.83% -0.067 0.1594)
OKLCHoklch(84.83% 0.173 112.8)
XYZxyz(50.9792, 62.6541, 13.0217)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD837 #4037D8
analogous
#D89037 #CFD837 #7ED837
triadic
#CFD837 #37CFD8 #D837CF
tetradic
#CFD837 #37D890 #4037D8 #D8377E
square
#CFD837 #37D890 #4037D8 #D8377E
split-complementary
#CFD837 #377ED8 #9037D8
monochromatic
#777C18 #A8B022 #CFD837 #DBE26A #E8EC9D

Accessibility & contrast

On white

1.55
#CFD837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#CFD837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD837
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD837#FFFFFF#000000##000000
##CFD8371.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE0F
Deuteranopia (green-blind)
#E9D145
Tritanopia (blue-blind)
#DDCBBA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd837;
/* rgb */ color: rgb(207, 216, 55);
/* oklch */ color: oklch(84.8% 0.173 112.8);
Tailwind
colors: {
  custom: {
    50: '#e2e37a',
    500: '#cfd837',
    950: '#000000',
  },
}
SCSS
$custom: #cfd837;
$custom-light: #e2e37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd837",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 55
  },
  "hsl": {
    "h": 63.354,
    "s": 67.364,
    "l": 53.137
  },
  "oklch": {
    "l": 0.84829,
    "c": 0.17294,
    "h": 112.8
  },
  "luminance": 0.62653
}

Semantic roles & 50–950 ramp

primary
#CFD837
secondary
#342F84
accent
#3EEA47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD837

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

Preview Lab → · Contrast checker → · Palette generator →

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