#C7BB4B#C7BB4B

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

Color values

HEX#C7BB4B
RGBrgb(199, 187, 75)
HSLhsl(54, 53%, 54%)
HSVhsv(54, 62%, 78%)
CMYKcmyk(0%, 6%, 62.3%, 22%)
CIE-LABlab(74.95, -9.38, 56.55)
CIE-LCHlch(74.95, 57.32, 99.42°)
OKLaboklab(78.08% -0.0303 0.129)
OKLCHoklch(78.08% 0.133 103.2)
XYZxyz(42.5951, 48.1924, 13.7136)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB4B #4B57C7
analogous
#C77D4B #C7BB4B #95C74B
triadic
#C7BB4B #4BC7BB #BB4BC7
tetradic
#C7BB4B #4BC77D #4B57C7 #C74B95
square
#C7BB4B #4BC77D #4B57C7 #C74B95
split-complementary
#C7BB4B #4B95C7 #7D4BC7
monochromatic
#746C24 #A29732 #C7BB4B #D6CD7A #E4DEA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BB4B#FFFFFF#000000##000000
##C7BB4B1.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)
#CBB53E
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#D5AFA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb4b;
/* rgb */ color: rgb(199, 187, 75);
/* oklch */ color: oklch(78.1% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#dbcf82',
    500: '#c7bb4b',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb4b;
$custom-light: #dbcf82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb4b",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 75
  },
  "hsl": {
    "h": 54.194,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78079,
    "c": 0.13252,
    "h": 103.2
  },
  "luminance": 0.48191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7BB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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