#7B9B2E#7B9B2E

#7B9B2E is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.139 H 124.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7B9B2E
RGBrgb(123, 155, 46)
HSLhsl(78, 54%, 39%)
HSVhsv(78, 70%, 61%)
CMYKcmyk(20.6%, 0%, 70.3%, 39.2%)
CIE-LABlab(59.75, -27.24, 50.93)
CIE-LCHlch(59.75, 57.76, 118.14°)
OKLaboklab(64.38% -0.0787 0.1147)
OKLCHoklch(64.38% 0.139 124.5)
XYZxyz(20.3830, 27.8507, 6.8861)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9B2E #4E2E9B
analogous
#9B852E #7B9B2E #449B2E
triadic
#7B9B2E #2E7B9B #9B2E7B
tetradic
#7B9B2E #2E9B85 #4E2E9B #9B2E44
square
#7B9B2E #2E9B85 #4E2E9B #9B2E44
split-complementary
#7B9B2E #2E449B #852E9B
monochromatic
#303D12 #566C20 #7B9B2E #9FC640 #B7D46F

Accessibility & contrast

On white

3.20
#7B9B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7B9B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9B2E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9B2E#FFFFFF#000000##000000
##7B9B2E1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911D
Deuteranopia (green-blind)
#9F9037
Tritanopia (blue-blind)
#819385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b9b2e;
/* rgb */ color: rgb(123, 155, 46);
/* oklch */ color: oklch(64.4% 0.139 124.5);
Tailwind
colors: {
  custom: {
    50: '#a4b86d',
    500: '#7b9b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7b9b2e;
$custom-light: #a4b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9b2e",
  "rgb": {
    "r": 123,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 77.615,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64376,
    "c": 0.13909,
    "h": 124.5
  },
  "luminance": 0.27851
}

Semantic roles & 50–950 ramp

primary
#7B9B2E
secondary
#8169BC
accent
#4ADE75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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