#7D9B2E#7D9B2E

#7D9B2E is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.138 H 123.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7D9B2E
RGBrgb(125, 155, 46)
HSLhsl(77, 54%, 39%)
HSVhsv(77, 70%, 61%)
CMYKcmyk(19.4%, 0%, 70.3%, 39.2%)
CIE-LABlab(59.89, -26.42, 51.11)
CIE-LCHlch(59.89, 57.53, 117.33°)
OKLaboklab(64.52% -0.0766 0.115)
OKLCHoklch(64.52% 0.138 123.7)
XYZxyz(20.6721, 27.9998, 6.8997)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9B2E #4C2E9B
analogous
#9B832E #7D9B2E #469B2E
triadic
#7D9B2E #2E7D9B #9B2E7D
tetradic
#7D9B2E #2E9B83 #4C2E9B #9B2E46
square
#7D9B2E #2E9B83 #4C2E9B #9B2E46
split-complementary
#7D9B2E #2E469B #832E9B
monochromatic
#313D12 #576C20 #7D9B2E #A1C640 #B8D46F

Accessibility & contrast

On white

3.18
#7D9B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7D9B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9B2E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9B2E#FFFFFF#000000##000000
##7D9B2E1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911D
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#839385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d9b2e;
/* rgb */ color: rgb(125, 155, 46);
/* oklch */ color: oklch(64.5% 0.138 123.7);
Tailwind
colors: {
  custom: {
    50: '#a6b86e',
    500: '#7d9b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d9b2e;
$custom-light: #a6b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9b2e",
  "rgb": {
    "r": 125,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 76.514,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6452,
    "c": 0.13816,
    "h": 123.7
  },
  "luminance": 0.28
}

Semantic roles & 50–950 ramp

primary
#7D9B2E
secondary
#8069BC
accent
#4ADE73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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