#CFCB51#CFCB51

#CFCB51 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.143 H 107.4°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CFCB51
RGBrgb(207, 203, 81)
HSLhsl(58, 57%, 56%)
HSVhsv(58, 61%, 81%)
CMYKcmyk(0%, 1.9%, 60.9%, 18.8%)
CIE-LABlab(79.94, -13.77, 59.56)
CIE-LCHlch(79.94, 61.13, 103.02°)
OKLaboklab(82.23% -0.0426 0.136)
OKLCHoklch(82.23% 0.143 107.4)
XYZxyz(48.5748, 56.5728, 16.1439)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB51 #5155CF
analogous
#CF8C51 #CFCB51 #94CF51
triadic
#CFCB51 #51CFCB #CB51CF
tetradic
#CFCB51 #51CF8C #5155CF #CF5194
square
#CFCB51 #51CF8C #5155CF #CF5194
split-complementary
#CFCB51 #5194CF #8C51CF
monochromatic
#827F24 #B2AE31 #CFCB51 #DCD981 #E9E8B1

Accessibility & contrast

On white

1.71
#CFCB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CFCB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB51
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB51#FFFFFF#000000##000000
##CFCB511.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#DDBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb51;
/* rgb */ color: rgb(207, 203, 81);
/* oklch */ color: oklch(82.2% 0.143 107.4);
Tailwind
colors: {
  custom: {
    50: '#e1da87',
    500: '#cfcb51',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb51;
$custom-light: #e1da87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb51",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 58.095,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82231,
    "c": 0.14254,
    "h": 107.4
  },
  "luminance": 0.56571
}

Semantic roles & 50–950 ramp

primary
#CFCB51
secondary
#3B3E89
accent
#4DE048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCB51

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

Preview Lab → · Contrast checker → · Palette generator →

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