#7B9B1E#7B9B1E

#7B9B1E is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.149 H 123.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7B9B1E
RGBrgb(123, 155, 30)
HSLhsl(75, 68%, 36%)
HSVhsv(75, 81%, 61%)
CMYKcmyk(20.6%, 0%, 80.6%, 39.2%)
CIE-LABlab(59.66, -28.11, 56.41)
CIE-LCHlch(59.66, 63.03, 116.49°)
OKLaboklab(64.27% -0.0824 0.1236)
OKLCHoklch(64.27% 0.149 123.7)
XYZxyz(20.1243, 27.7472, 5.5236)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9B1E #3E1E9B
analogous
#9B7D1E #7B9B1E #3D9B1E
triadic
#7B9B1E #1E7B9B #9B1E7B
tetradic
#7B9B1E #1E9B7D #3E1E9B #9B1E3D
square
#7B9B1E #1E9B7D #3E1E9B #9B1E3D
split-complementary
#7B9B1E #1E3D9B #7D1E9B
monochromatic
#2A340A #526814 #7B9B1E #A4CE28 #BBDE55

Accessibility & contrast

On white

3.21
#7B9B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7B9B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9B1E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9B1E#FFFFFF#000000##000000
##7B9B1E1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#819384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b9b1e;
/* rgb */ color: rgb(123, 155, 30);
/* oklch */ color: oklch(64.3% 0.149 123.7);
Tailwind
colors: {
  custom: {
    50: '#a5b866',
    500: '#7b9b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7b9b1e;
$custom-light: #a5b866;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9b1e",
  "rgb": {
    "r": 123,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 75.36,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.14852,
    "h": 123.7
  },
  "luminance": 0.27747
}

Semantic roles & 50–950 ramp

primary
#7B9B1E
secondary
#6F53C2
accent
#3DEA6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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