#CFD431#CFD431

#CFD431 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 83.9% C 0.172 H 111.4°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#CFD431
RGBrgb(207, 212, 49)
HSLhsl(62, 65%, 51%)
HSVhsv(62, 77%, 83%)
CMYKcmyk(2.4%, 0%, 76.9%, 16.9%)
CIE-LABlab(82.15, -19.89, 73.41)
CIE-LCHlch(82.15, 76.05, 105.16°)
OKLaboklab(83.93% -0.0628 0.1601)
OKLCHoklch(83.93% 0.172 111.4)
XYZxyz(49.8317, 60.5754, 11.9724)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD431 #3631D4
analogous
#D48731 #CFD431 #7ED431
triadic
#CFD431 #31CFD4 #D431CF
tetradic
#CFD431 #31D487 #3631D4 #D4317E
square
#CFD431 #31D487 #3631D4 #D4317E
split-complementary
#CFD431 #317ED4 #8731D4
monochromatic
#707318 #A1A523 #CFD431 #DBDF64 #E7E996

Accessibility & contrast

On white

1.60
#CFD431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#CFD431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD431
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD431#FFFFFF#000000##000000
##CFD4311.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E6CE40
Tritanopia (blue-blind)
#DEC7B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd431;
/* rgb */ color: rgb(207, 212, 49);
/* oklch */ color: oklch(83.9% 0.172 111.4);
Tailwind
colors: {
  custom: {
    50: '#e2e177',
    500: '#cfd431',
    950: '#000000',
  },
}
SCSS
$custom: #cfd431;
$custom-light: #e2e177;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd431",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 49
  },
  "hsl": {
    "h": 61.84,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83931,
    "c": 0.17195,
    "h": 111.4
  },
  "luminance": 0.60574
}

Semantic roles & 50–950 ramp

primary
#CFD431
secondary
#302E7B
accent
#3FE845
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD431

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

Preview Lab → · Contrast checker → · Palette generator →

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