#C7A437#C7A437

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

Color values

HEX#C7A437
RGBrgb(199, 164, 55)
HSLhsl(45, 57%, 50%)
HSVhsv(45, 72%, 78%)
CMYKcmyk(0%, 17.6%, 72.4%, 22%)
CIE-LABlab(68.73, 1.57, 58.45)
CIE-LCHlch(68.73, 58.47, 88.46°)
OKLaboklab(73.11% -0.0013 0.1297)
OKLCHoklch(73.11% 0.13 90.6)
XYZxyz(37.5203, 38.9712, 9.1596)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A437 #375AC7
analogous
#C75C37 #C7A437 #A2C737
triadic
#C7A437 #37C7A4 #A437C7
tetradic
#C7A437 #37C75C #375AC7 #C737A2
square
#C7A437 #37C75C #375AC7 #C737A2
split-complementary
#C7A437 #37A2C7 #5C37C7
monochromatic
#67551C #977C2A #C7A437 #D5BA66 #E2D096

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7A437#FFFFFF#000000##000000
##C7A4371.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)
#B6A227
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#D7968E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c7a437;
/* rgb */ color: rgb(199, 164, 55);
/* oklch */ color: oklch(73.1% 0.130 90.6);
Tailwind
colors: {
  custom: {
    50: '#dcbe75',
    500: '#c7a437',
    950: '#000000',
  },
}
SCSS
$custom: #c7a437;
$custom-light: #dcbe75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a437",
  "rgb": {
    "r": 199,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 45.417,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73108,
    "c": 0.12973,
    "h": 90.6
  },
  "luminance": 0.38969
}

Semantic roles & 50–950 ramp

primary
#C7A437
secondary
#8C9CCD
accent
#6DE048
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A437

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

Preview Lab → · Contrast checker → · Palette generator →

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