#7C8136#7C8136

#7C8136 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.099 H 112.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7C8136
RGBrgb(124, 129, 54)
HSLhsl(64, 41%, 36%)
HSVhsv(64, 58%, 51%)
CMYKcmyk(3.9%, 0%, 58.1%, 49.4%)
CIE-LABlab(52.12, -12.86, 39.24)
CIE-LCHlch(52.12, 41.29, 108.15°)
OKLaboklab(58.28% -0.0379 0.0911)
OKLCHoklch(58.28% 0.099 112.6)
XYZxyz(16.8287, 20.2523, 6.5119)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8136 #3B3681
analogous
#816036 #7C8136 #568136
triadic
#7C8136 #367C81 #81367C
tetradic
#7C8136 #368160 #3B3681 #813656
square
#7C8136 #368160 #3B3681 #813656
split-complementary
#7C8136 #365681 #603681
monochromatic
#292B12 #535624 #7C8136 #A5AC48 #BDC36F

Accessibility & contrast

On white

4.16
#7C8136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7C8136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8136
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8136#FFFFFF#000000##000000
##7C81361.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2E
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#847A71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8136;
/* rgb */ color: rgb(124, 129, 54);
/* oklch */ color: oklch(58.3% 0.099 112.6);
Tailwind
colors: {
  custom: {
    50: '#a4a570',
    500: '#7c8136',
    950: '#000000',
  },
}
SCSS
$custom: #7c8136;
$custom-light: #a4a570;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8136",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 64,
    "s": 40.984,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.09863,
    "h": 112.6
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#7C8136
secondary
#6C68AB
accent
#57D15F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7C8136

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

Preview Lab → · Contrast checker → · Palette generator →

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