#7B8D2A#7B8D2A

#7B8D2A is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.124 H 119.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7B8D2A
RGBrgb(123, 141, 42)
HSLhsl(71, 54%, 36%)
HSVhsv(71, 70%, 55%)
CMYKcmyk(12.8%, 0%, 70.2%, 44.7%)
CIE-LABlab(55.51, -20.51, 48.22)
CIE-LCHlch(55.51, 52.40, 113.04°)
OKLaboklab(60.94% -0.0605 0.1084)
OKLCHoklch(60.94% 0.124 119.2)
XYZxyz(18.1115, 23.4280, 5.7580)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8D2A #3C2A8D
analogous
#8D6D2A #7B8D2A #498D2A
triadic
#7B8D2A #2A7B8D #8D2A7B
tetradic
#7B8D2A #2A8D6D #3C2A8D #8D2A49
square
#7B8D2A #2A8D6D #3C2A8D #8D2A49
split-complementary
#7B8D2A #2A498D #6D2A8D
monochromatic
#292F0E #525E1C #7B8D2A #A4BC38 #BCD061

Accessibility & contrast

On white

3.69
#7B8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7B8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8D2A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8D2A#FFFFFF#000000##000000
##7B8D2A1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#828579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b8d2a;
/* rgb */ color: rgb(123, 141, 42);
/* oklch */ color: oklch(60.9% 0.124 119.2);
Tailwind
colors: {
  custom: {
    50: '#a4ae6a',
    500: '#7b8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7b8d2a;
$custom-light: #a4ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8d2a",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 70.909,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60944,
    "c": 0.12411,
    "h": 119.2
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#7B8D2A
secondary
#6D5DB6
accent
#4ADD65
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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