#7B8F1E#7B8F1E

#7B8F1E is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.134 H 119.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7B8F1E
RGBrgb(123, 143, 30)
HSLhsl(71, 65%, 34%)
HSVhsv(71, 79%, 56%)
CMYKcmyk(14%, 0%, 79%, 43.9%)
CIE-LABlab(56.04, -22.18, 53.11)
CIE-LCHlch(56.04, 57.55, 112.67°)
OKLaboklab(61.35% -0.0662 0.1166)
OKLCHoklch(61.35% 0.134 119.6)
XYZxyz(18.2256, 23.9497, 4.8907)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8F1E #321E8F
analogous
#8F6B1E #7B8F1E #438F1E
triadic
#7B8F1E #1E7B8F #8F1E7B
tetradic
#7B8F1E #1E8F6B #321E8F #8F1E43
square
#7B8F1E #1E8F6B #321E8F #8F1E43
split-complementary
#7B8F1E #1E438F #6B1E8F
monochromatic
#242A09 #4F5C13 #7B8F1E #A7C229 #C1DA4E

Accessibility & contrast

On white

3.63
#7B8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7B8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8F1E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8F1E#FFFFFF#000000##000000
##7B8F1E1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#83877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7b8f1e;
/* rgb */ color: rgb(123, 143, 30);
/* oklch */ color: oklch(61.3% 0.134 119.6);
Tailwind
colors: {
  custom: {
    50: '#a4af64',
    500: '#7b8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7b8f1e;
$custom-light: #a4af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8f1e",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 70.619,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61345,
    "c": 0.13404,
    "h": 119.6
  },
  "luminance": 0.2395
}

Semantic roles & 50–950 ramp

primary
#7B8F1E
secondary
#604CBC
accent
#40E85D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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