#C7BB3A#C7BB3A

#C7BB3A is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.9% C 0.145 H 103.9°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#C7BB3A
RGBrgb(199, 187, 58)
HSLhsl(55, 56%, 50%)
HSVhsv(55, 71%, 78%)
CMYKcmyk(0%, 6%, 70.9%, 22%)
CIE-LABlab(74.82, -10.35, 63.30)
CIE-LCHlch(74.82, 64.14, 99.29°)
OKLaboklab(77.94% -0.0349 0.1405)
OKLCHoklch(77.94% 0.145 103.9)
XYZxyz(42.0890, 47.9899, 11.0481)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB3A #3A46C7
analogous
#C7753A #C7BB3A #8CC73A
triadic
#C7BB3A #3AC7BB #BB3AC7
tetradic
#C7BB3A #3AC775 #3A46C7 #C73A8C
square
#C7BB3A #3AC775 #3A46C7 #C73A8C
split-complementary
#C7BB3A #3A8CC7 #753AC7
monochromatic
#69621E #988F2B #C7BB3A #D5CB6A #E2DC99

Accessibility & contrast

On white

1.98
#C7BB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#C7BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB3A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB3A#FFFFFF#000000##000000
##C7BB3A1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB525
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#D6AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb3a;
/* rgb */ color: rgb(199, 187, 58);
/* oklch */ color: oklch(77.9% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#dccf78',
    500: '#c7bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb3a;
$custom-light: #dccf78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb3a",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 54.894,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77937,
    "c": 0.14479,
    "h": 103.9
  },
  "luminance": 0.47988
}

Semantic roles & 50–950 ramp

primary
#C7BB3A
secondary
#8F94CE
accent
#56DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C7BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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