#7D9B22#7D9B22

#7D9B22 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.146 H 123.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7D9B22
RGBrgb(125, 155, 34)
HSLhsl(75, 64%, 37%)
HSVhsv(75, 78%, 61%)
CMYKcmyk(19.4%, 0%, 78.1%, 39.2%)
CIE-LABlab(59.81, -27.09, 55.36)
CIE-LCHlch(59.81, 61.63, 116.07°)
OKLaboklab(64.44% -0.0795 0.122)
OKLCHoklch(64.44% 0.146 123.1)
XYZxyz(20.4678, 27.9180, 5.8235)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9B22 #40229B
analogous
#9B7D22 #7D9B22 #419B22
triadic
#7D9B22 #227D9B #9B227D
tetradic
#7D9B22 #229B7D #40229B #9B2241
square
#7D9B22 #229B7D #40229B #9B2241
split-complementary
#7D9B22 #22419B #7D229B
monochromatic
#2C370C #556917 #7D9B22 #A5CD2D #BCDB5C

Accessibility & contrast

On white

3.19
#7D9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#7D9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9B22
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9B22#FFFFFF#000000##000000
##7D9B221.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49101
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#849384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d9b22;
/* rgb */ color: rgb(125, 155, 34);
/* oklch */ color: oklch(64.4% 0.146 123.1);
Tailwind
colors: {
  custom: {
    50: '#a6b868',
    500: '#7d9b22',
    950: '#000000',
  },
}
SCSS
$custom: #7d9b22;
$custom-light: #a6b868;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9b22",
  "rgb": {
    "r": 125,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 74.876,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64437,
    "c": 0.14556,
    "h": 123.1
  },
  "luminance": 0.27918
}

Semantic roles & 50–950 ramp

primary
#7D9B22
secondary
#7359C0
accent
#41E76A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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