#C7BB4F#C7BB4F

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

Color values

HEX#C7BB4F
RGBrgb(199, 187, 79)
HSLhsl(54, 52%, 55%)
HSVhsv(54, 60%, 78%)
CMYKcmyk(0%, 6%, 60.3%, 22%)
CIE-LABlab(74.98, -9.11, 54.83)
CIE-LCHlch(74.98, 55.58, 99.43°)
OKLaboklab(78.12% -0.029 0.1259)
OKLCHoklch(78.12% 0.129 103)
XYZxyz(42.7363, 48.2489, 14.4574)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB4F #4F5BC7
analogous
#C77F4F #C7BB4F #97C74F
triadic
#C7BB4F #4FC7BB #BB4FC7
tetradic
#C7BB4F #4FC77F #4F5BC7 #C74F97
square
#C7BB4F #4FC77F #4F5BC7 #C74F97
split-complementary
#C7BB4F #4F97C7 #7F4FC7
monochromatic
#766E26 #A49934 #C7BB4F #D6CD7D #E5DFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BB4F#FFFFFF#000000##000000
##C7BB4F1.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)
#CBB543
Deuteranopia (green-blind)
#CEBB55
Tritanopia (blue-blind)
#D5AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bb4f;
/* rgb */ color: rgb(199, 187, 79);
/* oklch */ color: oklch(78.1% 0.129 103.0);
Tailwind
colors: {
  custom: {
    50: '#dbcf85',
    500: '#c7bb4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb4f;
$custom-light: #dbcf85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb4f",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 54,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78119,
    "c": 0.12923,
    "h": 103
  },
  "luminance": 0.48247
}

Semantic roles & 50–950 ramp

primary
#C7BB4F
secondary
#A0A5D2
accent
#5BDB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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