#C7BD3A#C7BD3A

#C7BD3A is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.4% C 0.147 H 104.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#C7BD3A
RGBrgb(199, 189, 58)
HSLhsl(56, 56%, 50%)
HSVhsv(56, 71%, 78%)
CMYKcmyk(0%, 5%, 70.9%, 22%)
CIE-LABlab(75.35, -11.38, 63.82)
CIE-LCHlch(75.35, 64.83, 100.11°)
OKLaboklab(78.36% -0.0378 0.1416)
OKLCHoklch(78.36% 0.147 104.9)
XYZxyz(42.5162, 48.8444, 11.1905)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD3A #3A44C7
analogous
#C7773A #C7BD3A #8AC73A
triadic
#C7BD3A #3AC7BD #BD3AC7
tetradic
#C7BD3A #3AC777 #3A44C7 #C73A8A
square
#C7BD3A #3AC777 #3A44C7 #C73A8A
split-complementary
#C7BD3A #3A8AC7 #773AC7
monochromatic
#69631E #98912B #C7BD3A #D5CD6A #E2DD99

Accessibility & contrast

On white

1.95
#C7BD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#C7BD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD3A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD3A#FFFFFF#000000##000000
##C7BD3A1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB624
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#D6B0A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd3a;
/* rgb */ color: rgb(199, 189, 58);
/* oklch */ color: oklch(78.4% 0.147 104.9);
Tailwind
colors: {
  custom: {
    50: '#dcd079',
    500: '#c7bd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd3a;
$custom-light: #dcd079;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd3a",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 55.745,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78364,
    "c": 0.14659,
    "h": 104.9
  },
  "luminance": 0.48843
}

Semantic roles & 50–950 ramp

primary
#C7BD3A
secondary
#8F93CE
accent
#53DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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