#7C8032#7C8032

#7C8032 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.101 H 111.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7C8032
RGBrgb(124, 128, 50)
HSLhsl(63, 44%, 35%)
HSVhsv(63, 61%, 50%)
CMYKcmyk(3.1%, 0%, 60.9%, 49.8%)
CIE-LABlab(51.79, -12.65, 40.79)
CIE-LCHlch(51.79, 42.71, 107.23°)
OKLaboklab(58% -0.0377 0.0939)
OKLCHoklch(58% 0.101 111.9)
XYZxyz(16.6075, 19.9541, 5.9937)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8032 #363280
analogous
#805D32 #7C8032 #558032
triadic
#7C8032 #327C80 #80327C
tetradic
#7C8032 #32805D #363280 #803255
square
#7C8032 #32805D #363280 #803255
split-complementary
#7C8032 #325580 #5D3280
monochromatic
#272810 #515421 #7C8032 #A7AC43 #BFC468

Accessibility & contrast

On white

4.21
#7C8032 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7C8032 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8032
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8032#FFFFFF#000000##000000
##7C80321.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A29
Deuteranopia (green-blind)
#8A7C37
Tritanopia (blue-blind)
#84796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c8032;
/* rgb */ color: rgb(124, 128, 50);
/* oklch */ color: oklch(58.0% 0.101 111.9);
Tailwind
colors: {
  custom: {
    50: '#a4a46d',
    500: '#7c8032',
    950: '#000000',
  },
}
SCSS
$custom: #7c8032;
$custom-light: #a4a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8032",
  "rgb": {
    "r": 124,
    "g": 128,
    "b": 50
  },
  "hsl": {
    "h": 63.077,
    "s": 43.82,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57998,
    "c": 0.10115,
    "h": 111.9
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#7C8032
secondary
#6662AC
accent
#54D45B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C8032

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

Preview Lab → · Contrast checker → · Palette generator →

#7C8032 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva