#7D9B2F#7D9B2F

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

Color values

HEX#7D9B2F
RGBrgb(125, 155, 47)
HSLhsl(77, 53%, 40%)
HSVhsv(77, 70%, 61%)
CMYKcmyk(19.4%, 0%, 69.7%, 39.2%)
CIE-LABlab(59.90, -26.35, 50.72)
CIE-LCHlch(59.90, 57.15, 117.45°)
OKLaboklab(64.53% -0.0763 0.1143)
OKLCHoklch(64.53% 0.137 123.7)
XYZxyz(20.6921, 28.0078, 7.0047)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9B2F #4D2F9B
analogous
#9B832F #7D9B2F #479B2F
triadic
#7D9B2F #2F7D9B #9B2F7D
tetradic
#7D9B2F #2F9B83 #4D2F9B #9B2F47
square
#7D9B2F #2F9B83 #4D2F9B #9B2F47
split-complementary
#7D9B2F #2F479B #832F9B
monochromatic
#313D13 #576C21 #7D9B2F #A1C642 #B8D471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9B2F#FFFFFF#000000##000000
##7D9B2F1.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)
#A4911E
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#839385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d9b2f;
/* rgb */ color: rgb(125, 155, 47);
/* oklch */ color: oklch(64.5% 0.137 123.7);
Tailwind
colors: {
  custom: {
    50: '#a6b86e',
    500: '#7d9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d9b2f;
$custom-light: #a6b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9b2f",
  "rgb": {
    "r": 125,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 76.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64528,
    "c": 0.13745,
    "h": 123.7
  },
  "luminance": 0.28008
}

Semantic roles & 50–950 ramp

primary
#7D9B2F
secondary
#816ABB
accent
#4BDD73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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