#C7A434#C7A434

#C7A434 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 73.1% C 0.132 H 90.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#C7A434
RGBrgb(199, 164, 52)
HSLhsl(46, 59%, 49%)
HSVhsv(46, 74%, 78%)
CMYKcmyk(0%, 17.6%, 73.9%, 22%)
CIE-LABlab(68.71, 1.43, 59.61)
CIE-LCHlch(68.71, 59.62, 88.63°)
OKLaboklab(73.09% -0.002 0.1316)
OKLCHoklch(73.09% 0.132 90.9)
XYZxyz(37.4506, 38.9433, 8.7924)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A434 #3457C7
analogous
#C75A34 #C7A434 #A1C734
triadic
#C7A434 #34C7A4 #A434C7
tetradic
#C7A434 #34C75A #3457C7 #C734A1
square
#C7A434 #34C75A #3457C7 #C734A1
split-complementary
#C7A434 #34A1C7 #5A34C7
monochromatic
#66541B #967C27 #C7A434 #D6BA62 #E3D093

Accessibility & contrast

On white

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

On black

8.79
#C7A434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A434
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A434#FFFFFF#000000##000000
##C7A4341.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A222
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#D7968E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c7a434;
/* rgb */ color: rgb(199, 164, 52);
/* oklch */ color: oklch(73.1% 0.132 90.9);
Tailwind
colors: {
  custom: {
    50: '#dcbe73',
    500: '#c7a434',
    950: '#000000',
  },
}
SCSS
$custom: #c7a434;
$custom-light: #dcbe73;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a434",
  "rgb": {
    "r": 199,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 45.714,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73086,
    "c": 0.13161,
    "h": 90.9
  },
  "luminance": 0.38941
}

Semantic roles & 50–950 ramp

primary
#C7A434
secondary
#8999CE
accent
#6BE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C7A434

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

Preview Lab → · Contrast checker → · Palette generator →

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