#C7BB4E#C7BB4E

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

Color values

HEX#C7BB4E
RGBrgb(199, 187, 78)
HSLhsl(54, 52%, 54%)
HSVhsv(54, 61%, 78%)
CMYKcmyk(0%, 6%, 60.8%, 22%)
CIE-LABlab(74.97, -9.18, 55.27)
CIE-LCHlch(74.97, 56.02, 99.43°)
OKLaboklab(78.11% -0.0294 0.1267)
OKLCHoklch(78.11% 0.13 103)
XYZxyz(42.7002, 48.2344, 14.2672)
Luminance0.4823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB4E #4E5AC7
analogous
#C77F4E #C7BB4E #96C74E
triadic
#C7BB4E #4EC7BB #BB4EC7
tetradic
#C7BB4E #4EC77F #4E5AC7 #C74E96
square
#C7BB4E #4EC77F #4E5AC7 #C74E96
split-complementary
#C7BB4E #4E96C7 #7F4EC7
monochromatic
#756D25 #A49934 #C7BB4E #D6CD7C #E4DFAB

Accessibility & contrast

On white

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

On black

10.65
#C7BB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB4E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB4E#FFFFFF#000000##000000
##C7BB4E1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB542
Deuteranopia (green-blind)
#CEBB54
Tritanopia (blue-blind)
#D5AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bb4e;
/* rgb */ color: rgb(199, 187, 78);
/* oklch */ color: oklch(78.1% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#dbcf84',
    500: '#c7bb4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb4e;
$custom-light: #dbcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb4e",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 54.05,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78109,
    "c": 0.13006,
    "h": 103
  },
  "luminance": 0.48233
}

Semantic roles & 50–950 ramp

primary
#C7BB4E
secondary
#9FA4D2
accent
#5BDB4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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