#CFD451#CFD451

#CFD451 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.152 H 111.3°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#CFD451
RGBrgb(207, 212, 81)
HSLhsl(62, 60%, 57%)
HSVhsv(62, 62%, 83%)
CMYKcmyk(2.4%, 0%, 61.8%, 16.9%)
CIE-LABlab(82.35, -18.26, 62.14)
CIE-LCHlch(82.35, 64.77, 106.37°)
OKLaboklab(84.16% -0.0552 0.1415)
OKLCHoklch(84.16% 0.152 111.3)
XYZxyz(50.7622, 60.9476, 16.8730)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD451 #5651D4
analogous
#D49751 #CFD451 #8ED451
triadic
#CFD451 #51CFD4 #D451CF
tetradic
#CFD451 #51D497 #5651D4 #D4518E
square
#CFD451 #51D497 #5651D4 #D4518E
split-complementary
#CFD451 #518ED4 #9751D4
monochromatic
#858922 #B5BA2E #CFD451 #DDE082 #EAECB3

Accessibility & contrast

On white

1.59
#CFD451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#CFD451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD451
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD451#FFFFFF#000000##000000
##CFD4511.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E4CF59
Tritanopia (blue-blind)
#DCC8B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd451;
/* rgb */ color: rgb(207, 212, 81);
/* oklch */ color: oklch(84.2% 0.152 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e188',
    500: '#cfd451',
    950: '#000000',
  },
}
SCSS
$custom: #cfd451;
$custom-light: #e1e188;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd451",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 62.29,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84155,
    "c": 0.15191,
    "h": 111.3
  },
  "luminance": 0.60946
}

Semantic roles & 50–950 ramp

primary
#CFD451
secondary
#3D3A8F
accent
#44E44A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD451

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

Preview Lab → · Contrast checker → · Palette generator →

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