#C7B73A#C7B73A

#C7B73A is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.1% C 0.141 H 101.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#C7B73A
RGBrgb(199, 183, 58)
HSLhsl(53, 56%, 50%)
HSVhsv(53, 71%, 78%)
CMYKcmyk(0%, 8%, 70.9%, 22%)
CIE-LABlab(73.75, -8.29, 62.25)
CIE-LCHlch(73.75, 62.80, 97.59°)
OKLaboklab(77.09% -0.029 0.1383)
OKLCHoklch(77.09% 0.141 101.9)
XYZxyz(41.2522, 46.3164, 10.7692)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B73A #3A4AC7
analogous
#C7703A #C7B73A #91C73A
triadic
#C7B73A #3AC7B7 #B73AC7
tetradic
#C7B73A #3AC770 #3A4AC7 #C73A91
square
#C7B73A #3AC770 #3A4AC7 #C73A91
split-complementary
#C7B73A #3A91C7 #703AC7
monochromatic
#69601E #988C2B #C7B73A #D5C86A #E2DA99

Accessibility & contrast

On white

2.05
#C7B73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#C7B73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B73A
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B73A#FFFFFF#000000##000000
##C7B73A1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B126
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#D6AA9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b73a;
/* rgb */ color: rgb(199, 183, 58);
/* oklch */ color: oklch(77.1% 0.141 101.9);
Tailwind
colors: {
  custom: {
    50: '#dccc78',
    500: '#c7b73a',
    950: '#000000',
  },
}
SCSS
$custom: #c7b73a;
$custom-light: #dccc78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b73a",
  "rgb": {
    "r": 199,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 53.191,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77088,
    "c": 0.14133,
    "h": 101.9
  },
  "luminance": 0.46315
}

Semantic roles & 50–950 ramp

primary
#C7B73A
secondary
#8F96CE
accent
#5ADF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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