#C4B751#C4B751

#C4B751 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.0% C 0.124 H 102.1°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#C4B751
RGBrgb(196, 183, 81)
HSLhsl(53, 49%, 54%)
HSVhsv(53, 59%, 77%)
CMYKcmyk(0%, 6.6%, 58.7%, 23.1%)
CIE-LABlab(73.67, -8.17, 52.41)
CIE-LCHlch(73.67, 53.04, 98.86°)
OKLaboklab(77.03% -0.0259 0.1211)
OKLCHoklch(77.03% 0.124 102.1)
XYZxyz(41.1851, 46.1984, 14.5307)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B751 #515EC4
analogous
#C47E51 #C4B751 #98C451
triadic
#C4B751 #51C4B7 #B751C4
tetradic
#C4B751 #51C47E #515EC4 #C45198
square
#C4B751 #51C47E #515EC4 #C45198
split-complementary
#C4B751 #5198C4 #7E51C4
monochromatic
#736B27 #A19537 #C4B751 #D3CA7F #E3DDAC

Accessibility & contrast

On white

2.05
#C4B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#C4B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B751
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B751#FFFFFF#000000##000000
##C4B7511.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B246
Deuteranopia (green-blind)
#CAB856
Tritanopia (blue-blind)
#D2ABA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b751;
/* rgb */ color: rgb(196, 183, 81);
/* oklch */ color: oklch(77.0% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#d8cc85',
    500: '#c4b751',
    950: '#000000',
  },
}
SCSS
$custom: #c4b751;
$custom-light: #d8cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b751",
  "rgb": {
    "r": 196,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 53.217,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77025,
    "c": 0.12382,
    "h": 102.1
  },
  "luminance": 0.46197
}

Semantic roles & 50–950 ramp

primary
#C4B751
secondary
#A0A6D1
accent
#5FD94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4B751

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

Preview Lab → · Contrast checker → · Palette generator →

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