#7B8E1D#7B8E1D

#7B8E1D is a mid, vivid yellow-green. Relative luminance 0.236; 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#7B8E1D
RGBrgb(123, 142, 29)
HSLhsl(70, 66%, 34%)
HSVhsv(70, 80%, 56%)
CMYKcmyk(13.4%, 0%, 79.6%, 44.3%)
CIE-LABlab(55.73, -21.72, 53.15)
CIE-LCHlch(55.73, 57.41, 112.23°)
OKLaboklab(61.1% -0.065 0.1165)
OKLCHoklch(61.1% 0.133 119.2)
XYZxyz(18.0635, 23.6458, 4.7747)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8E1D #301D8E
analogous
#8E681D #7B8E1D #438E1D
triadic
#7B8E1D #1D7B8E #8E1D7B
tetradic
#7B8E1D #1D8E68 #301D8E #8E1D43
square
#7B8E1D #1D8E68 #301D8E #8E1D43
split-complementary
#7B8E1D #1D438E #681D8E
monochromatic
#232808 #4F5B13 #7B8E1D #A7C127 #C2DA4B

Accessibility & contrast

On white

3.67
#7B8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8E1D#FFFFFF#000000##000000
##7B8E1D1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b8e1d;
/* rgb */ color: rgb(123, 142, 29);
/* oklch */ color: oklch(61.1% 0.133 119.2);
Tailwind
colors: {
  custom: {
    50: '#a5af64',
    500: '#7b8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b8e1d;
$custom-light: #a5af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8e1d",
  "rgb": {
    "r": 123,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 70.088,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61097,
    "c": 0.13339,
    "h": 119.2
  },
  "luminance": 0.23646
}

Semantic roles & 50–950 ramp

primary
#7B8E1D
secondary
#5D4ABD
accent
#3FE95B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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