#C7B437#C7B437

#C7B437 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.4% C 0.141 H 100.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#C7B437
RGBrgb(199, 180, 55)
HSLhsl(52, 57%, 50%)
HSVhsv(52, 72%, 78%)
CMYKcmyk(0%, 9.5%, 72.4%, 22%)
CIE-LABlab(72.93, -6.88, 62.57)
CIE-LCHlch(72.93, 62.95, 96.27°)
OKLaboklab(76.43% -0.0254 0.1385)
OKLCHoklch(76.43% 0.141 100.4)
XYZxyz(40.5659, 45.0624, 10.1748)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B437 #374AC7
analogous
#C76C37 #C7B437 #92C737
triadic
#C7B437 #37C7B4 #B437C7
tetradic
#C7B437 #37C76C #374AC7 #C73792
square
#C7B437 #37C76C #374AC7 #C73792
split-complementary
#C7B437 #3792C7 #6C37C7
monochromatic
#675D1C #97892A #C7B437 #D5C666 #E2D896

Accessibility & contrast

On white

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

On black

10.01
#C7B437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B437
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B437#FFFFFF#000000##000000
##C7B4371.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF22
Deuteranopia (green-blind)
#CAB63F
Tritanopia (blue-blind)
#D6A79B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b437;
/* rgb */ color: rgb(199, 180, 55);
/* oklch */ color: oklch(76.4% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#dcca76',
    500: '#c7b437',
    950: '#000000',
  },
}
SCSS
$custom: #c7b437;
$custom-light: #dcca76;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b437",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 55
  },
  "hsl": {
    "h": 52.083,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76433,
    "c": 0.14075,
    "h": 100.4
  },
  "luminance": 0.4506
}

Semantic roles & 50–950 ramp

primary
#C7B437
secondary
#8C95CD
accent
#5CE048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B437

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

Preview Lab → · Contrast checker → · Palette generator →

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