#7C8A32#7C8A32

#7C8A32 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.4% C 0.114 H 117.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7C8A32
RGBrgb(124, 138, 50)
HSLhsl(70, 47%, 37%)
HSVhsv(70, 64%, 54%)
CMYKcmyk(10.1%, 0%, 63.8%, 45.9%)
CIE-LABlab(54.75, -17.97, 44.03)
CIE-LCHlch(54.75, 47.55, 112.20°)
OKLaboklab(60.38% -0.0527 0.1007)
OKLCHoklch(60.38% 0.114 117.6)
XYZxyz(17.9767, 22.6925, 6.4501)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A32 #40328A
analogous
#8A6C32 #7C8A32 #508A32
triadic
#7C8A32 #327C8A #8A327C
tetradic
#7C8A32 #328A6C #40328A #8A3250
square
#7C8A32 #328A6C #40328A #8A3250
split-complementary
#7C8A32 #32508A #6C328A
monochromatic
#2B3011 #545D22 #7C8A32 #A4B742 #BBCA6C

Accessibility & contrast

On white

3.79
#7C8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7C8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A32
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A32#FFFFFF#000000##000000
##7C8A321.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938327
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a32;
/* rgb */ color: rgb(124, 138, 50);
/* oklch */ color: oklch(60.4% 0.114 117.6);
Tailwind
colors: {
  custom: {
    50: '#a4ac6e',
    500: '#7c8a32',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a32;
$custom-light: #a4ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a32",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 69.545,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.11366,
    "h": 117.6
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#7C8A32
secondary
#7266B2
accent
#51D667
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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