#7C8120#7C8120

#7C8120 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.116 H 112.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7C8120
RGBrgb(124, 129, 32)
HSLhsl(63, 60%, 32%)
HSVhsv(63, 75%, 51%)
CMYKcmyk(3.9%, 0%, 75.2%, 49.4%)
CIE-LABlab(51.94, -14.35, 48.61)
CIE-LCHlch(51.94, 50.69, 106.44°)
OKLaboklab(58.08% -0.0444 0.1074)
OKLCHoklch(58.08% 0.116 112.5)
XYZxyz(16.4237, 20.0903, 4.3789)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8120 #252081
analogous
#815620 #7C8120 #4C8120
triadic
#7C8120 #207C81 #81207C
tetradic
#7C8120 #208156 #252081 #81204C
square
#7C8120 #208156 #252081 #81204C
split-complementary
#7C8120 #204C81 #562081
monochromatic
#1E1F08 #4D5014 #7C8120 #ABB22C #CBD249

Accessibility & contrast

On white

4.18
#7C8120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7C8120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8120
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8120#FFFFFF#000000##000000
##7C81201.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#85796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8120;
/* rgb */ color: rgb(124, 129, 32);
/* oklch */ color: oklch(58.1% 0.116 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a563',
    500: '#7c8120',
    950: '#000000',
  },
}
SCSS
$custom: #7c8120;
$custom-light: #a5a563;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8120",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 63.093,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.11621,
    "h": 112.5
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#7C8120
secondary
#4F49B4
accent
#44E34D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8120

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

Preview Lab → · Contrast checker → · Palette generator →

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