#7C8124#7C8124

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

Color values

HEX#7C8124
RGBrgb(124, 129, 36)
HSLhsl(63, 56%, 32%)
HSVhsv(63, 72%, 51%)
CMYKcmyk(3.9%, 0%, 72.1%, 49.4%)
CIE-LABlab(51.97, -14.13, 47.11)
CIE-LCHlch(51.97, 49.18, 106.70°)
OKLaboklab(58.11% -0.0434 0.105)
OKLCHoklch(58.11% 0.114 112.5)
XYZxyz(16.4814, 20.1134, 4.6828)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8124 #292481
analogous
#815824 #7C8124 #4D8124
triadic
#7C8124 #247C81 #81247C
tetradic
#7C8124 #248158 #292481 #81244D
square
#7C8124 #248158 #292481 #81244D
split-complementary
#7C8124 #244D81 #582481
monochromatic
#202109 #4E5117 #7C8124 #AAB131 #C8CE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8124#FFFFFF#000000##000000
##7C81241.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)
#8B7B14
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#85796F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8124;
/* rgb */ color: rgb(124, 129, 36);
/* oklch */ color: oklch(58.1% 0.114 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a565',
    500: '#7c8124',
    950: '#000000',
  },
}
SCSS
$custom: #7c8124;
$custom-light: #a5a565;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8124",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 63.226,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.11358,
    "h": 112.5
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#7C8124
secondary
#544EB2
accent
#48E050
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8124

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

Preview Lab → · Contrast checker → · Palette generator →

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