#7B9250#7B9250

#7B9250 is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.6% C 0.095 H 124.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7B9250
RGBrgb(123, 146, 80)
HSLhsl(81, 29%, 44%)
HSVhsv(81, 45%, 57%)
CMYKcmyk(15.8%, 0%, 45.2%, 42.7%)
CIE-LABlab(57.41, -19.56, 32.22)
CIE-LCHlch(57.41, 37.69, 121.26°)
OKLaboklab(62.61% -0.0542 0.078)
OKLCHoklch(62.61% 0.095 124.8)
XYZxyz(19.8952, 25.3478, 11.4323)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9250 #675092
analogous
#928850 #7B9250 #5A9250
triadic
#7B9250 #507B92 #92507B
tetradic
#7B9250 #509288 #675092 #92505A
square
#7B9250 #509288 #675092 #92505A
split-complementary
#7B9250 #505A92 #885092
monochromatic
#384325 #5A6A3A #7B9250 #99B06F #B5C697

Accessibility & contrast

On white

3.46
#7B9250 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7B9250 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9250
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9250#FFFFFF#000000##000000
##7B92501.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B4B
Deuteranopia (green-blind)
#958A54
Tritanopia (blue-blind)
#7F8C82
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b9250;
/* rgb */ color: rgb(123, 146, 80);
/* oklch */ color: oklch(62.6% 0.095 124.8);
Tailwind
colors: {
  custom: {
    50: '#a2b282',
    500: '#7b9250',
    950: '#000000',
  },
}
SCSS
$custom: #7b9250;
$custom-light: #a2b282;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9250",
  "rgb": {
    "r": 123,
    "g": 146,
    "b": 80
  },
  "hsl": {
    "h": 80.909,
    "s": 29.204,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62605,
    "c": 0.09501,
    "h": 124.8
  },
  "luminance": 0.25348
}

Semantic roles & 50–950 ramp

primary
#7B9250
secondary
#998BB3
accent
#62C585
background
#FAFAF8
surface
#F4F5EF
border
#CECFCA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7B9250

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

Preview Lab → · Contrast checker → · Palette generator →

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