#7B9B1D#7B9B1D

#7B9B1D 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#7B9B1D
RGBrgb(123, 155, 29)
HSLhsl(75, 68%, 36%)
HSVhsv(75, 81%, 61%)
CMYKcmyk(20.6%, 0%, 81.3%, 39.2%)
CIE-LABlab(59.66, -28.15, 56.70)
CIE-LCHlch(59.66, 63.30, 116.40°)
OKLaboklab(64.27% -0.0826 0.124)
OKLCHoklch(64.27% 0.149 123.7)
XYZxyz(20.1118, 27.7422, 5.4574)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9B1D #3D1D9B
analogous
#9B7C1D #7B9B1D #3C9B1D
triadic
#7B9B1D #1D7B9B #9B1D7B
tetradic
#7B9B1D #1D9B7C #3D1D9B #9B1D3C
square
#7B9B1D #1D9B7C #3D1D9B #9B1D3C
split-complementary
#7B9B1D #1D3C9B #7C1D9B
monochromatic
#29340A #526713 #7B9B1D #A4CF27 #BCDF53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9B1D#FFFFFF#000000##000000
##7B9B1D1.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)
#A08F2A
Tritanopia (blue-blind)
#819384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b9b1d;
/* rgb */ color: rgb(123, 155, 29);
/* oklch */ color: oklch(64.3% 0.149 123.7);
Tailwind
colors: {
  custom: {
    50: '#a5b865',
    500: '#7b9b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9b1d;
$custom-light: #a5b865;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9b1d",
  "rgb": {
    "r": 123,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 75.238,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64265,
    "c": 0.14899,
    "h": 123.7
  },
  "luminance": 0.27742
}

Semantic roles & 50–950 ramp

primary
#7B9B1D
secondary
#6E52C2
accent
#3CEB69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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