#7C8134#7C8134

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

Color values

HEX#7C8134
RGBrgb(124, 129, 52)
HSLhsl(64, 43%, 35%)
HSVhsv(64, 60%, 51%)
CMYKcmyk(3.9%, 0%, 59.7%, 49.4%)
CIE-LABlab(52.10, -13.03, 40.18)
CIE-LCHlch(52.10, 42.24, 107.97°)
OKLaboklab(58.26% -0.0386 0.0928)
OKLCHoklch(58.26% 0.101 112.6)
XYZxyz(16.7827, 20.2339, 6.2696)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8134 #393481
analogous
#815F34 #7C8134 #558134
triadic
#7C8134 #347C81 #81347C
tetradic
#7C8134 #34815F #393481 #813455
square
#7C8134 #34815F #393481 #813455
split-complementary
#7C8134 #345581 #5F3481
monochromatic
#282A11 #525522 #7C8134 #A6AD46 #BEC46C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8134#FFFFFF#000000##000000
##7C81341.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)
#8A7B2C
Deuteranopia (green-blind)
#8A7D39
Tritanopia (blue-blind)
#847A70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8134;
/* rgb */ color: rgb(124, 129, 52);
/* oklch */ color: oklch(58.3% 0.101 112.6);
Tailwind
colors: {
  custom: {
    50: '#a4a56f',
    500: '#7c8134',
    950: '#000000',
  },
}
SCSS
$custom: #7c8134;
$custom-light: #a4a56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8134",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 63.896,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.10052,
    "h": 112.6
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#7C8134
secondary
#6A65AC
accent
#55D25E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C8134

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

Preview Lab → · Contrast checker → · Palette generator →

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