#C7B43A#C7B43A

#C7B43A is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.5% C 0.139 H 100.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#C7B43A
RGBrgb(199, 180, 58)
HSLhsl(52, 56%, 50%)
HSVhsv(52, 71%, 78%)
CMYKcmyk(0%, 9.5%, 70.9%, 22%)
CIE-LABlab(72.95, -6.73, 61.46)
CIE-LCHlch(72.95, 61.83, 96.25°)
OKLaboklab(76.46% -0.0246 0.1367)
OKLCHoklch(76.46% 0.139 100.2)
XYZxyz(40.6400, 45.0920, 10.5651)
Luminance0.4509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B43A #3A4DC7
analogous
#C76D3A #C7B43A #93C73A
triadic
#C7B43A #3AC7B4 #B43AC7
tetradic
#C7B43A #3AC76D #3A4DC7 #C73A93
square
#C7B43A #3AC76D #3A4DC7 #C73A93
split-complementary
#C7B43A #3A93C7 #6D3AC7
monochromatic
#695F1E #988A2B #C7B43A #D5C66A #E2D899

Accessibility & contrast

On white

2.10
#C7B43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#C7B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B43A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B43A#FFFFFF#000000##000000
##C7B43A1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF27
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#D6A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b43a;
/* rgb */ color: rgb(199, 180, 58);
/* oklch */ color: oklch(76.5% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#dcca78',
    500: '#c7b43a',
    950: '#000000',
  },
}
SCSS
$custom: #c7b43a;
$custom-light: #dcca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b43a",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 51.915,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76455,
    "c": 0.13885,
    "h": 100.2
  },
  "luminance": 0.4509
}

Semantic roles & 50–950 ramp

primary
#C7B43A
secondary
#8F97CE
accent
#5DDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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