#C7B237#C7B237

#C7B237 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.0% C 0.139 H 99.3°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C7B237
RGBrgb(199, 178, 55)
HSLhsl(51, 57%, 50%)
HSVhsv(51, 72%, 78%)
CMYKcmyk(0%, 10.6%, 72.4%, 22%)
CIE-LABlab(72.40, -5.84, 62.06)
CIE-LCHlch(72.40, 62.33, 95.37°)
OKLaboklab(76.01% -0.0224 0.1374)
OKLCHoklch(76.01% 0.139 99.3)
XYZxyz(40.1651, 44.2607, 10.0412)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B237 #374CC7
analogous
#C76A37 #C7B237 #94C737
triadic
#C7B237 #37C7B2 #B237C7
tetradic
#C7B237 #37C76A #374CC7 #C73794
square
#C7B237 #37C76A #374CC7 #C73794
split-complementary
#C7B237 #3794C7 #6A37C7
monochromatic
#675C1C #97872A #C7B237 #D5C566 #E2D796

Accessibility & contrast

On white

2.13
#C7B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C7B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B237
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B237#FFFFFF#000000##000000
##C7B2371.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#D7A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b237;
/* rgb */ color: rgb(199, 178, 55);
/* oklch */ color: oklch(76.0% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#dcc876',
    500: '#c7b237',
    950: '#000000',
  },
}
SCSS
$custom: #c7b237;
$custom-light: #dcc876;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b237",
  "rgb": {
    "r": 199,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 51.25,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76012,
    "c": 0.13917,
    "h": 99.3
  },
  "luminance": 0.44259
}

Semantic roles & 50–950 ramp

primary
#C7B237
secondary
#8C96CD
accent
#5EE048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B237

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

Preview Lab → · Contrast checker → · Palette generator →

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