#7B8124#7B8124

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

Color values

HEX#7B8124
RGBrgb(123, 129, 36)
HSLhsl(64, 56%, 32%)
HSVhsv(64, 72%, 51%)
CMYKcmyk(4.7%, 0%, 72.1%, 49.4%)
CIE-LABlab(51.88, -14.59, 47.00)
CIE-LCHlch(51.88, 49.21, 107.24°)
OKLaboklab(58.02% -0.0446 0.1048)
OKLCHoklch(58.02% 0.114 113.1)
XYZxyz(16.3376, 20.0392, 4.6760)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8124 #2A2481
analogous
#815924 #7B8124 #4D8124
triadic
#7B8124 #247B81 #81247B
tetradic
#7B8124 #248159 #2A2481 #81244D
square
#7B8124 #248159 #2A2481 #81244D
split-complementary
#7B8124 #244D81 #592481
monochromatic
#202109 #4D5117 #7B8124 #A9B131 #C6CE51

Accessibility & contrast

On white

4.19
#7B8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7B8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8124
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8124#FFFFFF#000000##000000
##7B81241.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b8124;
/* rgb */ color: rgb(123, 129, 36);
/* oklch */ color: oklch(58.0% 0.114 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a565',
    500: '#7b8124',
    950: '#000000',
  },
}
SCSS
$custom: #7b8124;
$custom-light: #a4a565;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8124",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 63.871,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.11386,
    "h": 113.1
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#7B8124
secondary
#554EB2
accent
#48E052
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7B8124

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

Preview Lab → · Contrast checker → · Palette generator →

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