#C7BB4D#C7BB4D

#C7BB4D is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.131 H 103.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#C7BB4D
RGBrgb(199, 187, 77)
HSLhsl(54, 52%, 54%)
HSVhsv(54, 61%, 78%)
CMYKcmyk(0%, 6%, 61.3%, 22%)
CIE-LABlab(74.96, -9.25, 55.70)
CIE-LCHlch(74.96, 56.46, 99.43°)
OKLaboklab(78.1% -0.0297 0.1275)
OKLCHoklch(78.1% 0.131 103.1)
XYZxyz(42.6646, 48.2202, 14.0798)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB4D #4D59C7
analogous
#C77E4D #C7BB4D #96C74D
triadic
#C7BB4D #4DC7BB #BB4DC7
tetradic
#C7BB4D #4DC77E #4D59C7 #C74D96
square
#C7BB4D #4DC77E #4D59C7 #C74D96
split-complementary
#C7BB4D #4D96C7 #7E4DC7
monochromatic
#756D25 #A39833 #C7BB4D #D6CD7C #E4DFAA

Accessibility & contrast

On white

1.97
#C7BB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#C7BB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB4D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB4D#FFFFFF#000000##000000
##C7BB4D1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB540
Deuteranopia (green-blind)
#CEBB53
Tritanopia (blue-blind)
#D5AFA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb4d;
/* rgb */ color: rgb(199, 187, 77);
/* oklch */ color: oklch(78.1% 0.131 103.1);
Tailwind
colors: {
  custom: {
    50: '#dbcf83',
    500: '#c7bb4d',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb4d;
$custom-light: #dbcf83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb4d",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 77
  },
  "hsl": {
    "h": 54.098,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78099,
    "c": 0.13089,
    "h": 103.1
  },
  "luminance": 0.48219
}

Semantic roles & 50–950 ramp

primary
#C7BB4D
secondary
#9EA3D2
accent
#5ADC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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