#7D9A1B#7D9A1B

#7D9A1B is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.148 H 122.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7D9A1B
RGBrgb(125, 154, 27)
HSLhsl(74, 70%, 35%)
HSVhsv(74, 82%, 60%)
CMYKcmyk(18.8%, 0%, 82.5%, 39.6%)
CIE-LABlab(59.48, -26.91, 57.16)
CIE-LCHlch(59.48, 63.18, 115.21°)
OKLaboklab(64.16% -0.0795 0.1246)
OKLCHoklch(64.16% 0.148 122.5)
XYZxyz(20.2112, 27.5502, 5.2896)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9A1B #381B9A
analogous
#9A771B #7D9A1B #3D9A1B
triadic
#7D9A1B #1B7D9A #9A1B7D
tetradic
#7D9A1B #1B9A77 #381B9A #9A1B3D
square
#7D9A1B #1B9A77 #381B9A #9A1B3D
split-complementary
#7D9A1B #1B3D9A #771B9A
monochromatic
#283209 #536612 #7D9A1B #A7CE24 #BFE04F

Accessibility & contrast

On white

3.23
#7D9A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7D9A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9A1B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9A1B#FFFFFF#000000##000000
##7D9A1B1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A08F29
Tritanopia (blue-blind)
#849283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9a1b;
/* rgb */ color: rgb(125, 154, 27);
/* oklch */ color: oklch(64.2% 0.148 122.5);
Tailwind
colors: {
  custom: {
    50: '#a6b765',
    500: '#7d9a1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d9a1b;
$custom-light: #a6b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9a1b",
  "rgb": {
    "r": 125,
    "g": 154,
    "b": 27
  },
  "hsl": {
    "h": 73.701,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64156,
    "c": 0.14776,
    "h": 122.5
  },
  "luminance": 0.2755
}

Semantic roles & 50–950 ramp

primary
#7D9A1B
secondary
#694EC3
accent
#3BED64
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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