#7B8D2B#7B8D2B

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

Color values

HEX#7B8D2B
RGBrgb(123, 141, 43)
HSLhsl(71, 53%, 36%)
HSVhsv(71, 70%, 55%)
CMYKcmyk(12.8%, 0%, 69.5%, 44.7%)
CIE-LABlab(55.52, -20.45, 47.82)
CIE-LCHlch(55.52, 52.01, 113.15°)
OKLaboklab(60.95% -0.0602 0.1077)
OKLCHoklch(60.95% 0.123 119.2)
XYZxyz(18.1296, 23.4352, 5.8534)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8D2B #3D2B8D
analogous
#8D6E2B #7B8D2B #4A8D2B
triadic
#7B8D2B #2B7B8D #8D2B7B
tetradic
#7B8D2B #2B8D6E #3D2B8D #8D2B4A
square
#7B8D2B #2B8D6E #3D2B8D #8D2B4A
split-complementary
#7B8D2B #2B4A8D #6E2B8D
monochromatic
#292F0E #525E1D #7B8D2B #A4BC39 #BCCF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8D2B#FFFFFF#000000##000000
##7B8D2B1.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)
#96851C
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#828579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b8d2b;
/* rgb */ color: rgb(123, 141, 43);
/* oklch */ color: oklch(61.0% 0.123 119.2);
Tailwind
colors: {
  custom: {
    50: '#a4ae6a',
    500: '#7b8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7b8d2b;
$custom-light: #a4ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8d2b",
  "rgb": {
    "r": 123,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 71.02,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.12338,
    "h": 119.2
  },
  "luminance": 0.23435
}

Semantic roles & 50–950 ramp

primary
#7B8D2B
secondary
#6E5EB6
accent
#4BDD66
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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