#CFD351#CFD351

#CFD351 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 83.9% C 0.151 H 110.9°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#CFD351
RGBrgb(207, 211, 81)
HSLhsl(62, 60%, 57%)
HSVhsv(62, 62%, 83%)
CMYKcmyk(1.9%, 0%, 61.6%, 17.3%)
CIE-LABlab(82.08, -17.76, 61.86)
CIE-LCHlch(82.08, 64.36, 106.02°)
OKLaboklab(83.94% -0.0538 0.1409)
OKLCHoklch(83.94% 0.151 110.9)
XYZxyz(50.5130, 60.4492, 16.7900)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD351 #5551D3
analogous
#D39651 #CFD351 #8ED351
triadic
#CFD351 #51CFD3 #D351CF
tetradic
#CFD351 #51D396 #5551D3 #D3518E
square
#CFD351 #51D396 #5551D3 #D3518E
split-complementary
#CFD351 #518ED3 #9651D3
monochromatic
#848722 #B4B82F #CFD351 #DCDF82 #EAECB3

Accessibility & contrast

On white

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

On black

13.09
#CFD351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD351
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD351#FFFFFF#000000##000000
##CFD3511.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E3CE59
Tritanopia (blue-blind)
#DCC7B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd351;
/* rgb */ color: rgb(207, 211, 81);
/* oklch */ color: oklch(83.9% 0.151 110.9);
Tailwind
colors: {
  custom: {
    50: '#e1e088',
    500: '#cfd351',
    950: '#000000',
  },
}
SCSS
$custom: #cfd351;
$custom-light: #e1e088;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd351",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 61.846,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8394,
    "c": 0.15084,
    "h": 110.9
  },
  "luminance": 0.60448
}

Semantic roles & 50–950 ramp

primary
#CFD351
secondary
#3D3A8E
accent
#45E34A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD351

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

Preview Lab → · Contrast checker → · Palette generator →

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