#C7A734#C7A734

#C7A734 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.7% C 0.133 H 92.8°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#C7A734
RGBrgb(199, 167, 52)
HSLhsl(47, 59%, 49%)
HSVhsv(47, 74%, 78%)
CMYKcmyk(0%, 16.1%, 73.9%, 22%)
CIE-LABlab(69.49, -0.17, 60.36)
CIE-LCHlch(69.49, 60.36, 90.16°)
OKLaboklab(73.7% -0.0066 0.1332)
OKLCHoklch(73.7% 0.133 92.8)
XYZxyz(37.9938, 40.0297, 8.9735)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A734 #3454C7
analogous
#C75E34 #C7A734 #9EC734
triadic
#C7A734 #34C7A7 #A734C7
tetradic
#C7A734 #34C75E #3454C7 #C7349E
square
#C7A734 #34C75E #3454C7 #C7349E
split-complementary
#C7A734 #349EC7 #5E34C7
monochromatic
#66561B #967E27 #C7A734 #D6BD62 #E3D193

Accessibility & contrast

On white

2.33
#C7A734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#C7A734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A734
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A734#FFFFFF#000000##000000
##C7A7341.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A421
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#D79990
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c7a734;
/* rgb */ color: rgb(199, 167, 52);
/* oklch */ color: oklch(73.7% 0.133 92.8);
Tailwind
colors: {
  custom: {
    50: '#dcc073',
    500: '#c7a734',
    950: '#000000',
  },
}
SCSS
$custom: #c7a734;
$custom-light: #dcc073;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a734",
  "rgb": {
    "r": 199,
    "g": 167,
    "b": 52
  },
  "hsl": {
    "h": 46.939,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73702,
    "c": 0.13335,
    "h": 92.8
  },
  "luminance": 0.40027
}

Semantic roles & 50–950 ramp

primary
#C7A734
secondary
#8998CE
accent
#68E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A734

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

Preview Lab → · Contrast checker → · Palette generator →

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