#C7B732#C7B732

#C7B732 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.0% C 0.146 H 102.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#C7B732
RGBrgb(199, 183, 50)
HSLhsl(54, 60%, 49%)
HSVhsv(54, 75%, 78%)
CMYKcmyk(0%, 8%, 74.9%, 22%)
CIE-LABlab(73.70, -8.66, 65.09)
CIE-LCHlch(73.70, 65.66, 97.58°)
OKLaboklab(77.03% -0.0309 0.1429)
OKLCHoklch(77.03% 0.146 102.2)
XYZxyz(41.0643, 46.2412, 9.7794)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B732 #3242C7
analogous
#C76D32 #C7B732 #8DC732
triadic
#C7B732 #32C7B7 #B732C7
tetradic
#C7B732 #32C76D #3242C7 #C7328D
square
#C7B732 #32C76D #3242C7 #C7328D
split-complementary
#C7B732 #328DC7 #6D32C7
monochromatic
#655D19 #968A26 #C7B732 #D7CA5F #E3DA90

Accessibility & contrast

On white

2.05
#C7B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#C7B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B732
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B732#FFFFFF#000000##000000
##C7B7321.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B117
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#D6AA9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b732;
/* rgb */ color: rgb(199, 183, 50);
/* oklch */ color: oklch(77.0% 0.146 102.2);
Tailwind
colors: {
  custom: {
    50: '#dccc74',
    500: '#c7b732',
    950: '#000000',
  },
}
SCSS
$custom: #c7b732;
$custom-light: #dccc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b732",
  "rgb": {
    "r": 199,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 53.557,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77034,
    "c": 0.14616,
    "h": 102.2
  },
  "luminance": 0.46239
}

Semantic roles & 50–950 ramp

primary
#C7B732
secondary
#878FCE
accent
#56E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B732

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

Preview Lab → · Contrast checker → · Palette generator →

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