#7B8F1D#7B8F1D

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

Color values

HEX#7B8F1D
RGBrgb(123, 143, 29)
HSLhsl(71, 66%, 34%)
HSVhsv(71, 80%, 56%)
CMYKcmyk(14%, 0%, 79.7%, 43.9%)
CIE-LABlab(56.03, -22.22, 53.42)
CIE-LCHlch(56.03, 57.86, 112.59°)
OKLaboklab(61.34% -0.0664 0.1171)
OKLCHoklch(61.34% 0.135 119.6)
XYZxyz(18.2130, 23.9447, 4.8245)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8F1D #311D8F
analogous
#8F6A1D #7B8F1D #428F1D
triadic
#7B8F1D #1D7B8F #8F1D7B
tetradic
#7B8F1D #1D8F6A #311D8F #8F1D42
square
#7B8F1D #1D8F6A #311D8F #8F1D42
split-complementary
#7B8F1D #1D428F #6A1D8F
monochromatic
#232908 #4F5C13 #7B8F1D #A7C227 #C2DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8F1D#FFFFFF#000000##000000
##7B8F1D1.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)
#968728
Tritanopia (blue-blind)
#83877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7b8f1d;
/* rgb */ color: rgb(123, 143, 29);
/* oklch */ color: oklch(61.3% 0.135 119.6);
Tailwind
colors: {
  custom: {
    50: '#a5af64',
    500: '#7b8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b8f1d;
$custom-light: #a5af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8f1d",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 70.526,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61339,
    "c": 0.13457,
    "h": 119.6
  },
  "luminance": 0.23945
}

Semantic roles & 50–950 ramp

primary
#7B8F1D
secondary
#5F4BBD
accent
#3FE95D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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