#C7B03C#C7B03C

#C7B03C is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.134 H 97.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C7B03C
RGBrgb(199, 176, 60)
HSLhsl(50, 55%, 51%)
HSVhsv(50, 70%, 78%)
CMYKcmyk(0%, 11.6%, 69.8%, 22%)
CIE-LABlab(71.91, -4.54, 59.64)
CIE-LCHlch(71.91, 59.81, 94.35°)
OKLaboklab(75.63% -0.0182 0.1331)
OKLCHoklch(75.63% 0.134 97.8)
XYZxyz(39.8960, 43.5210, 10.5730)
Luminance0.4352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B03C #3C53C7
analogous
#C76A3C #C7B03C #98C73C
triadic
#C7B03C #3CC7B0 #B03CC7
tetradic
#C7B03C #3CC76A #3C53C7 #C73C98
square
#C7B03C #3CC76A #3C53C7 #C73C98
split-complementary
#C7B03C #3C98C7 #6A3CC7
monochromatic
#6A5E1E #9A882C #C7B03C #D5C36C #E2D79B

Accessibility & contrast

On white

2.16
#C7B03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C7B03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B03C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B03C#FFFFFF#000000##000000
##C7B03C1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2B
Deuteranopia (green-blind)
#C7B443
Tritanopia (blue-blind)
#D6A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7b03c;
/* rgb */ color: rgb(199, 176, 60);
/* oklch */ color: oklch(75.6% 0.134 97.8);
Tailwind
colors: {
  custom: {
    50: '#dcc778',
    500: '#c7b03c',
    950: '#000000',
  },
}
SCSS
$custom: #c7b03c;
$custom-light: #dcc778;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b03c",
  "rgb": {
    "r": 199,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 50.072,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7563,
    "c": 0.13438,
    "h": 97.8
  },
  "luminance": 0.43519
}

Semantic roles & 50–950 ramp

primary
#C7B03C
secondary
#919BCE
accent
#62DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B03C

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

Preview Lab → · Contrast checker → · Palette generator →

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