#7B9C1D#7B9C1D

#7B9C1D is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.5% C 0.150 H 124.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7B9C1D
RGBrgb(123, 156, 29)
HSLhsl(76, 69%, 36%)
HSVhsv(76, 81%, 61%)
CMYKcmyk(21.2%, 0%, 81.4%, 38.8%)
CIE-LABlab(59.96, -28.63, 56.97)
CIE-LCHlch(59.96, 63.76, 116.68°)
OKLaboklab(64.51% -0.0839 0.1246)
OKLCHoklch(64.51% 0.15 124)
XYZxyz(20.2789, 28.0764, 5.5131)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9C1D #3E1D9C
analogous
#9C7E1D #7B9C1D #3B9C1D
triadic
#7B9C1D #1D7B9C #9C1D7B
tetradic
#7B9C1D #1D9C7E #3E1D9C #9C1D3B
square
#7B9C1D #1D9C7E #3E1D9C #9C1D3B
split-complementary
#7B9C1D #1D3B9C #7E1D9C
monochromatic
#2A350A #526813 #7B9C1D #A4D027 #BBDF54

Accessibility & contrast

On white

3.17
#7B9C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7B9C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9C1D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9C1D#FFFFFF#000000##000000
##7B9C1D1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#819485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b9c1d;
/* rgb */ color: rgb(123, 156, 29);
/* oklch */ color: oklch(64.5% 0.150 124.0);
Tailwind
colors: {
  custom: {
    50: '#a5b966',
    500: '#7b9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9c1d;
$custom-light: #a5b966;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9c1d",
  "rgb": {
    "r": 123,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 75.591,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.1502,
    "h": 124
  },
  "luminance": 0.28077
}

Semantic roles & 50–950 ramp

primary
#7B9C1D
secondary
#6F52C2
accent
#3CEB6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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