#C7A43B#C7A43B

#C7A43B is a light, vivid yellow. Relative luminance 0.390; OKLCH L 73.1% C 0.127 H 90.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#C7A43B
RGBrgb(199, 164, 59)
HSLhsl(45, 56%, 51%)
HSVhsv(45, 70%, 78%)
CMYKcmyk(0%, 17.6%, 70.4%, 22%)
CIE-LABlab(68.76, 1.77, 56.86)
CIE-LCHlch(68.76, 56.89, 88.22°)
OKLaboklab(73.14% -0.0002 0.1271)
OKLCHoklch(73.14% 0.127 90.1)
XYZxyz(37.6201, 39.0111, 9.6852)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A43B #3B5EC7
analogous
#C75E3B #C7A43B #A4C73B
triadic
#C7A43B #3BC7A4 #A43BC7
tetradic
#C7A43B #3BC75E #3B5EC7 #C73BA4
square
#C7A43B #3BC75E #3B5EC7 #C73BA4
split-complementary
#C7A43B #3BA4C7 #5E3BC7
monochromatic
#69571E #997E2C #C7A43B #D5BA6B #E2D09A

Accessibility & contrast

On white

2.39
#C7A43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#C7A43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A43B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A43B#FFFFFF#000000##000000
##C7A43B1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22D
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#D7978F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c7a43b;
/* rgb */ color: rgb(199, 164, 59);
/* oklch */ color: oklch(73.1% 0.127 90.1);
Tailwind
colors: {
  custom: {
    50: '#dcbe77',
    500: '#c7a43b',
    950: '#000000',
  },
}
SCSS
$custom: #c7a43b;
$custom-light: #dcbe77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a43b",
  "rgb": {
    "r": 199,
    "g": 164,
    "b": 59
  },
  "hsl": {
    "h": 45,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7314,
    "c": 0.12708,
    "h": 90.1
  },
  "luminance": 0.39009
}

Semantic roles & 50–950 ramp

primary
#C7A43B
secondary
#909FCE
accent
#6EDF49
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A43B

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

Preview Lab → · Contrast checker → · Palette generator →

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