#7B973F#7B973F

#7B973F is a light, moderate yellow-green. Relative luminance 0.267; OKLCH L 63.6% C 0.120 H 124.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7B973F
RGBrgb(123, 151, 63)
HSLhsl(79, 41%, 42%)
HSVhsv(79, 58%, 59%)
CMYKcmyk(18.5%, 0%, 58.3%, 40.8%)
CIE-LABlab(58.70, -23.93, 42.33)
CIE-LCHlch(58.70, 48.63, 119.47°)
OKLaboklab(63.57% -0.0679 0.0988)
OKLCHoklch(63.57% 0.12 124.5)
XYZxyz(20.1323, 26.7029, 8.7952)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B973F #5B3F97
analogous
#97873F #7B973F #4F973F
triadic
#7B973F #3F7B97 #973F7B
tetradic
#7B973F #3F9787 #5B3F97 #973F4F
square
#7B973F #3F9787 #5B3F97 #973F4F
split-complementary
#7B973F #3F4F97 #873F97
monochromatic
#35411B #586C2D #7B973F #9BBA59 #B5CC85

Accessibility & contrast

On white

3.31
#7B973F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7B973F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B973F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B973F#FFFFFF#000000##000000
##7B973F1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E36
Deuteranopia (green-blind)
#9B8D45
Tritanopia (blue-blind)
#809084
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b973f;
/* rgb */ color: rgb(123, 151, 63);
/* oklch */ color: oklch(63.6% 0.120 124.5);
Tailwind
colors: {
  custom: {
    50: '#a3b577',
    500: '#7b973f',
    950: '#000000',
  },
}
SCSS
$custom: #7b973f;
$custom-light: #a3b577;
$custom-dark: #000000;
JSON
{
  "hex": "#7b973f",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 63
  },
  "hsl": {
    "h": 79.091,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63572,
    "c": 0.11987,
    "h": 124.5
  },
  "luminance": 0.26703
}

Semantic roles & 50–950 ramp

primary
#7B973F
secondary
#8E7CB6
accent
#57D17E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7B973F

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

Preview Lab → · Contrast checker → · Palette generator →

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