#C7B532#C7B532

#C7B532 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.6% C 0.145 H 101.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C7B532
RGBrgb(199, 181, 50)
HSLhsl(53, 60%, 49%)
HSVhsv(53, 75%, 78%)
CMYKcmyk(0%, 9%, 74.9%, 22%)
CIE-LABlab(73.17, -7.62, 64.59)
CIE-LCHlch(73.17, 65.04, 96.73°)
OKLaboklab(76.61% -0.028 0.1418)
OKLCHoklch(76.61% 0.145 101.2)
XYZxyz(40.6547, 45.4220, 9.6429)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B532 #3244C7
analogous
#C76B32 #C7B532 #8FC732
triadic
#C7B532 #32C7B5 #B532C7
tetradic
#C7B532 #32C76B #3244C7 #C7328F
square
#C7B532 #32C76B #3244C7 #C7328F
split-complementary
#C7B532 #328FC7 #6B32C7
monochromatic
#655C19 #968926 #C7B532 #D7C85F #E3D990

Accessibility & contrast

On white

2.08
#C7B532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C7B532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B532
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B532#FFFFFF#000000##000000
##C7B5321.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B018
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#D6A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b532;
/* rgb */ color: rgb(199, 181, 50);
/* oklch */ color: oklch(76.6% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#dcca74',
    500: '#c7b532',
    950: '#000000',
  },
}
SCSS
$custom: #c7b532;
$custom-light: #dcca74;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b532",
  "rgb": {
    "r": 199,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 52.752,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76611,
    "c": 0.14452,
    "h": 101.2
  },
  "luminance": 0.4542
}

Semantic roles & 50–950 ramp

primary
#C7B532
secondary
#8790CE
accent
#58E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B532

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

Preview Lab → · Contrast checker → · Palette generator →

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