#CFB651#CFB651

#CFB651 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.124 H 95.5°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#CFB651
RGBrgb(207, 182, 81)
HSLhsl(48, 57%, 56%)
HSVhsv(48, 61%, 81%)
CMYKcmyk(0%, 12.1%, 60.9%, 18.8%)
CIE-LABlab(74.39, -2.99, 53.48)
CIE-LCHlch(74.39, 53.56, 93.20°)
OKLaboklab(77.83% -0.0118 0.1231)
OKLCHoklch(77.83% 0.124 95.5)
XYZxyz(43.9472, 47.3175, 14.6013)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB651 #516ACF
analogous
#CF7751 #CFB651 #A9CF51
triadic
#CFB651 #51CFB6 #B651CF
tetradic
#CFB651 #51CF77 #516ACF #CF51A9
square
#CFB651 #51CF77 #516ACF #CF51A9
split-complementary
#CFB651 #51A9CF #7751CF
monochromatic
#826F24 #B29831 #CFB651 #DCCA81 #E9DEB1

Accessibility & contrast

On white

2.01
#CFB651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#CFB651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB651
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB651#FFFFFF#000000##000000
##CFB6511.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B246
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#DEA9A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb651;
/* rgb */ color: rgb(207, 182, 81);
/* oklch */ color: oklch(77.8% 0.124 95.5);
Tailwind
colors: {
  custom: {
    50: '#e1cb86',
    500: '#cfb651',
    950: '#000000',
  },
}
SCSS
$custom: #cfb651;
$custom-light: #e1cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb651",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 48.095,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77827,
    "c": 0.12366,
    "h": 95.5
  },
  "luminance": 0.47315
}

Semantic roles & 50–950 ramp

primary
#CFB651
secondary
#A4AED8
accent
#66E048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB651

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

Preview Lab → · Contrast checker → · Palette generator →

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