#7B8E1E#7B8E1E

#7B8E1E is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.133 H 119.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7B8E1E
RGBrgb(123, 142, 30)
HSLhsl(70, 65%, 34%)
HSVhsv(70, 79%, 56%)
CMYKcmyk(13.4%, 0%, 78.9%, 44.3%)
CIE-LABlab(55.74, -21.67, 52.83)
CIE-LCHlch(55.74, 57.10, 112.30°)
OKLaboklab(61.1% -0.0648 0.116)
OKLCHoklch(61.1% 0.133 119.2)
XYZxyz(18.0761, 23.6508, 4.8408)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8E1E #311E8E
analogous
#8E691E #7B8E1E #438E1E
triadic
#7B8E1E #1E7B8E #8E1E7B
tetradic
#7B8E1E #1E8E69 #311E8E #8E1E43
square
#7B8E1E #1E8E69 #311E8E #8E1E43
split-complementary
#7B8E1E #1E438E #691E8E
monochromatic
#232909 #4F5B13 #7B8E1E #A7C129 #C2D94D

Accessibility & contrast

On white

3.66
#7B8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7B8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8E1E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8E1E#FFFFFF#000000##000000
##7B8E1E1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#838679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7b8e1e;
/* rgb */ color: rgb(123, 142, 30);
/* oklch */ color: oklch(61.1% 0.133 119.2);
Tailwind
colors: {
  custom: {
    50: '#a4af64',
    500: '#7b8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #7b8e1e;
$custom-light: #a4af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8e1e",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 70.179,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61102,
    "c": 0.13285,
    "h": 119.2
  },
  "luminance": 0.23651
}

Semantic roles & 50–950 ramp

primary
#7B8E1E
secondary
#5F4CBC
accent
#40E85C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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