#CFD751#CFD751

#CFD751 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.8% C 0.155 H 112.5°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#CFD751
RGBrgb(207, 215, 81)
HSLhsl(64, 63%, 58%)
HSVhsv(64, 62%, 84%)
CMYKcmyk(3.7%, 0%, 62.3%, 15.7%)
CIE-LABlab(83.16, -19.73, 63.00)
CIE-LCHlch(83.16, 66.02, 107.39°)
OKLaboklab(84.8% -0.0594 0.1433)
OKLCHoklch(84.8% 0.155 112.5)
XYZxyz(51.5191, 62.4615, 17.1253)
Luminance0.6246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD751 #5951D7
analogous
#D79C51 #CFD751 #8CD751
triadic
#CFD751 #51CFD7 #D751CF
tetradic
#CFD751 #51D79C #5951D7 #D7518C
square
#CFD751 #51D79C #5951D7 #D7518C
split-complementary
#CFD751 #518CD7 #9C51D7
monochromatic
#878D20 #B6BF2C #CFD751 #DDE283 #EAEEB5

Accessibility & contrast

On white

1.56
#CFD751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#CFD751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD751
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD751#FFFFFF#000000##000000
##CFD7511.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE40
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#DCCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd751;
/* rgb */ color: rgb(207, 215, 81);
/* oklch */ color: oklch(84.8% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e388',
    500: '#cfd751',
    950: '#000000',
  },
}
SCSS
$custom: #cfd751;
$custom-light: #e1e388;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd751",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 63.582,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84801,
    "c": 0.15514,
    "h": 112.5
  },
  "luminance": 0.6246
}

Semantic roles & 50–950 ramp

primary
#CFD751
secondary
#3F3993
accent
#42E64C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD751

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

Preview Lab → · Contrast checker → · Palette generator →

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