#7A8124#7A8124

#7A8124 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.114 H 113.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7A8124
RGBrgb(122, 129, 36)
HSLhsl(65, 56%, 32%)
HSVhsv(65, 72%, 51%)
CMYKcmyk(5.4%, 0%, 72.1%, 49.4%)
CIE-LABlab(51.80, -15.04, 46.89)
CIE-LCHlch(51.80, 49.24, 107.78°)
OKLaboklab(57.93% -0.0458 0.1046)
OKLCHoklch(57.93% 0.114 113.7)
XYZxyz(16.1952, 19.9658, 4.6694)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8124 #2B2481
analogous
#815A24 #7A8124 #4C8124
triadic
#7A8124 #247A81 #81247A
tetradic
#7A8124 #24815A #2B2481 #81244C
square
#7A8124 #24815A #2B2481 #81244C
split-complementary
#7A8124 #244C81 #5A2481
monochromatic
#1F2109 #4D5117 #7A8124 #A7B131 #C5CE51

Accessibility & contrast

On white

4.21
#7A8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7A8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8124
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8124#FFFFFF#000000##000000
##7A81241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B14
Deuteranopia (green-blind)
#8B7C2B
Tritanopia (blue-blind)
#82796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8124;
/* rgb */ color: rgb(122, 129, 36);
/* oklch */ color: oklch(57.9% 0.114 113.7);
Tailwind
colors: {
  custom: {
    50: '#a3a565',
    500: '#7a8124',
    950: '#000000',
  },
}
SCSS
$custom: #7a8124;
$custom-light: #a3a565;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8124",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 64.516,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.11415,
    "h": 113.7
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#7A8124
secondary
#564EB2
accent
#48E054
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8124

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

Preview Lab → · Contrast checker → · Palette generator →

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