#7B9C1C#7B9C1C

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

Color values

HEX#7B9C1C
RGBrgb(123, 156, 28)
HSLhsl(75, 70%, 36%)
HSVhsv(75, 82%, 61%)
CMYKcmyk(21.2%, 0%, 82.1%, 38.8%)
CIE-LABlab(59.95, -28.67, 57.25)
CIE-LCHlch(59.95, 64.03, 116.60°)
OKLaboklab(64.51% -0.0841 0.125)
OKLCHoklch(64.51% 0.151 123.9)
XYZxyz(20.2667, 28.0716, 5.4490)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9C1C #3D1C9C
analogous
#9C7D1C #7B9C1C #3B9C1C
triadic
#7B9C1C #1C7B9C #9C1C7B
tetradic
#7B9C1C #1C9C7D #3D1C9C #9C1C3B
square
#7B9C1C #1C9C7D #3D1C9C #9C1C3B
split-complementary
#7B9C1C #1C3B9C #7D1C9C
monochromatic
#293409 #526813 #7B9C1C #A4D025 #BCE052

Accessibility & contrast

On white

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

On black

6.61
#7B9C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9C1C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9C1C#FFFFFF#000000##000000
##7B9C1C1.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9c1c;
/* rgb */ color: rgb(123, 156, 28);
/* oklch */ color: oklch(64.5% 0.151 123.9);
Tailwind
colors: {
  custom: {
    50: '#a5b965',
    500: '#7b9c1c',
    950: '#000000',
  },
}
SCSS
$custom: #7b9c1c;
$custom-light: #a5b965;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9c1c",
  "rgb": {
    "r": 123,
    "g": 156,
    "b": 28
  },
  "hsl": {
    "h": 75.469,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64505,
    "c": 0.15066,
    "h": 123.9
  },
  "luminance": 0.28072
}

Semantic roles & 50–950 ramp

primary
#7B9C1C
secondary
#6E51C3
accent
#3BEC69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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