#CFB751#CFB751

#CFB751 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.124 H 96.1°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CFB751
RGBrgb(207, 183, 81)
HSLhsl(49, 57%, 56%)
HSVhsv(49, 61%, 81%)
CMYKcmyk(0%, 11.6%, 60.9%, 18.8%)
CIE-LABlab(74.65, -3.51, 53.77)
CIE-LCHlch(74.65, 53.88, 93.74°)
OKLaboklab(78.03% -0.0133 0.1237)
OKLCHoklch(78.03% 0.124 96.1)
XYZxyz(44.1527, 47.7285, 14.6698)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB751 #5169CF
analogous
#CF7851 #CFB751 #A8CF51
triadic
#CFB751 #51CFB7 #B751CF
tetradic
#CFB751 #51CF78 #5169CF #CF51A8
square
#CFB751 #51CF78 #5169CF #CF51A8
split-complementary
#CFB751 #51A8CF #7851CF
monochromatic
#827024 #B29931 #CFB751 #DCCB81 #E9DFB1

Accessibility & contrast

On white

1.99
#CFB751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#CFB751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB751
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB751#FFFFFF#000000##000000
##CFB7511.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#DEAAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb751;
/* rgb */ color: rgb(207, 183, 81);
/* oklch */ color: oklch(78.0% 0.124 96.1);
Tailwind
colors: {
  custom: {
    50: '#e1cc86',
    500: '#cfb751',
    950: '#000000',
  },
}
SCSS
$custom: #cfb751;
$custom-light: #e1cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb751",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 48.571,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78033,
    "c": 0.12443,
    "h": 96.1
  },
  "luminance": 0.47726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB751

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

Preview Lab → · Contrast checker → · Palette generator →

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