#C7B837#C7B837

#C7B837 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.3% C 0.144 H 102.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C7B837
RGBrgb(199, 184, 55)
HSLhsl(54, 57%, 50%)
HSVhsv(54, 72%, 78%)
CMYKcmyk(0%, 7.5%, 72.4%, 22%)
CIE-LABlab(74.00, -8.95, 63.61)
CIE-LCHlch(74.00, 64.23, 98.01°)
OKLaboklab(77.28% -0.0312 0.1406)
OKLCHoklch(77.28% 0.144 102.5)
XYZxyz(41.3851, 46.7007, 10.4479)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B837 #3746C7
analogous
#C77037 #C7B837 #8EC737
triadic
#C7B837 #37C7B8 #B837C7
tetradic
#C7B837 #37C770 #3746C7 #C7378E
square
#C7B837 #37C770 #3746C7 #C7378E
split-complementary
#C7B837 #378EC7 #7037C7
monochromatic
#675F1C #978C2A #C7B837 #D5C966 #E2DA96

Accessibility & contrast

On white

2.03
#C7B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#C7B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B837
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B837#FFFFFF#000000##000000
##C7B8371.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B221
Deuteranopia (green-blind)
#CDB940
Tritanopia (blue-blind)
#D6AB9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c7b837;
/* rgb */ color: rgb(199, 184, 55);
/* oklch */ color: oklch(77.3% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#dccd77',
    500: '#c7b837',
    950: '#000000',
  },
}
SCSS
$custom: #c7b837;
$custom-light: #dccd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b837",
  "rgb": {
    "r": 199,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 53.75,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77279,
    "c": 0.14406,
    "h": 102.5
  },
  "luminance": 0.46699
}

Semantic roles & 50–950 ramp

primary
#C7B837
secondary
#8C93CD
accent
#58E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B837

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

Preview Lab → · Contrast checker → · Palette generator →

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