#7A941B#7A941B

#7A941B is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.142 H 121.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7A941B
RGBrgb(122, 148, 27)
HSLhsl(73, 69%, 34%)
HSVhsv(73, 82%, 58%)
CMYKcmyk(17.6%, 0%, 81.8%, 42%)
CIE-LABlab(57.46, -25.24, 55.29)
CIE-LCHlch(57.46, 60.78, 114.54°)
OKLaboklab(62.47% -0.0747 0.1207)
OKLCHoklch(62.47% 0.142 121.8)
XYZxyz(18.8141, 25.3965, 4.9475)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A941B #351B94
analogous
#94721B #7A941B #3D941B
triadic
#7A941B #1B7A94 #941B7A
tetradic
#7A941B #1B9472 #351B94 #941B3D
square
#7A941B #1B9472 #351B94 #941B3D
split-complementary
#7A941B #1B3D94 #721B94
monochromatic
#252C08 #4F6012 #7A941B #A5C824 #BFDE4B

Accessibility & contrast

On white

3.45
#7A941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7A941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A941B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A941B#FFFFFF#000000##000000
##7A941B1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#818C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a941b;
/* rgb */ color: rgb(122, 148, 27);
/* oklch */ color: oklch(62.5% 0.142 121.8);
Tailwind
colors: {
  custom: {
    50: '#a4b364',
    500: '#7a941b',
    950: '#000000',
  },
}
SCSS
$custom: #7a941b;
$custom-light: #a4b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7a941b",
  "rgb": {
    "r": 122,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 72.893,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6247,
    "c": 0.14196,
    "h": 121.8
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#7A941B
secondary
#644BC0
accent
#3CEC62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A941B

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

Preview Lab → · Contrast checker → · Palette generator →

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