#7B9A1D#7B9A1D

#7B9A1D is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.0% C 0.148 H 123.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7B9A1D
RGBrgb(123, 154, 29)
HSLhsl(75, 68%, 36%)
HSVhsv(75, 81%, 60%)
CMYKcmyk(20.1%, 0%, 81.2%, 39.6%)
CIE-LABlab(59.35, -27.67, 56.43)
CIE-LCHlch(59.35, 62.85, 116.12°)
OKLaboklab(64.02% -0.0813 0.1234)
OKLCHoklch(64.02% 0.148 123.4)
XYZxyz(19.9460, 27.4107, 5.4021)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9A1D #3C1D9A
analogous
#9A7A1D #7B9A1D #3C9A1D
triadic
#7B9A1D #1D7B9A #9A1D7B
tetradic
#7B9A1D #1D9A7A #3C1D9A #9A1D3C
square
#7B9A1D #1D9A7A #3C1D9A #9A1D3C
split-complementary
#7B9A1D #1D3C9A #7A1D9A
monochromatic
#29330A #526613 #7B9A1D #A4CE27 #BCDF53

Accessibility & contrast

On white

3.24
#7B9A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7B9A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9A1D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9A1D#FFFFFF#000000##000000
##7B9A1D1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9F8F2A
Tritanopia (blue-blind)
#829283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b9a1d;
/* rgb */ color: rgb(123, 154, 29);
/* oklch */ color: oklch(64.0% 0.148 123.4);
Tailwind
colors: {
  custom: {
    50: '#a5b765',
    500: '#7b9a1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9a1d;
$custom-light: #a5b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9a1d",
  "rgb": {
    "r": 123,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 74.88,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6402,
    "c": 0.14779,
    "h": 123.4
  },
  "luminance": 0.27411
}

Semantic roles & 50–950 ramp

primary
#7B9A1D
secondary
#6D51C2
accent
#3DEB68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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