#C7B93A#C7B93A

#C7B93A is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.5% C 0.143 H 102.9°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#C7B93A
RGBrgb(199, 185, 58)
HSLhsl(54, 56%, 50%)
HSVhsv(54, 71%, 78%)
CMYKcmyk(0%, 7%, 70.9%, 22%)
CIE-LABlab(74.28, -9.32, 62.77)
CIE-LCHlch(74.28, 63.46, 98.45°)
OKLaboklab(77.51% -0.032 0.1394)
OKLCHoklch(77.51% 0.143 102.9)
XYZxyz(41.6677, 47.1473, 10.9077)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B93A #3A48C7
analogous
#C7733A #C7B93A #8EC73A
triadic
#C7B93A #3AC7B9 #B93AC7
tetradic
#C7B93A #3AC773 #3A48C7 #C73A8E
square
#C7B93A #3AC773 #3A48C7 #C73A8E
split-complementary
#C7B93A #3A8EC7 #733AC7
monochromatic
#69611E #988E2B #C7B93A #D5CA6A #E2DB99

Accessibility & contrast

On white

2.01
#C7B93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#C7B93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B93A
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B93A#FFFFFF#000000##000000
##C7B93A1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB326
Deuteranopia (green-blind)
#CEBA42
Tritanopia (blue-blind)
#D6ACA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c7b93a;
/* rgb */ color: rgb(199, 185, 58);
/* oklch */ color: oklch(77.5% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#dccd78',
    500: '#c7b93a',
    950: '#000000',
  },
}
SCSS
$custom: #c7b93a;
$custom-light: #dccd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b93a",
  "rgb": {
    "r": 199,
    "g": 185,
    "b": 58
  },
  "hsl": {
    "h": 54.043,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77512,
    "c": 0.14304,
    "h": 102.9
  },
  "luminance": 0.47146
}

Semantic roles & 50–950 ramp

primary
#C7B93A
secondary
#8F95CE
accent
#58DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B93A

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

Preview Lab → · Contrast checker → · Palette generator →

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