#7D8124#7D8124

#7D8124 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.113 H 111.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D8124
RGBrgb(125, 129, 36)
HSLhsl(63, 56%, 32%)
HSVhsv(63, 72%, 51%)
CMYKcmyk(3.1%, 0%, 72.1%, 49.4%)
CIE-LABlab(52.05, -13.68, 47.22)
CIE-LCHlch(52.05, 49.16, 106.16°)
OKLaboklab(58.19% -0.0422 0.1052)
OKLCHoklch(58.19% 0.113 111.9)
XYZxyz(16.6267, 20.1883, 4.6896)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8124 #282481
analogous
#815724 #7D8124 #4E8124
triadic
#7D8124 #247D81 #81247D
tetradic
#7D8124 #248157 #282481 #81244E
square
#7D8124 #248157 #282481 #81244E
split-complementary
#7D8124 #244E81 #572481
monochromatic
#202109 #4F5117 #7D8124 #ABB131 #C9CE51

Accessibility & contrast

On white

4.17
#7D8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7D8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8124
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8124#FFFFFF#000000##000000
##7D81241.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B14
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#86796F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d8124;
/* rgb */ color: rgb(125, 129, 36);
/* oklch */ color: oklch(58.2% 0.113 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a565',
    500: '#7d8124',
    950: '#000000',
  },
}
SCSS
$custom: #7d8124;
$custom-light: #a5a565;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8124",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 62.581,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.11331,
    "h": 111.9
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#7D8124
secondary
#534EB2
accent
#48E04F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8124

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

Preview Lab → · Contrast checker → · Palette generator →

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