#7A931B#7A931B

#7A931B is a light, vivid yellow-green. Relative luminance 0.251; OKLCH L 62.2% C 0.141 H 121.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7A931B
RGBrgb(122, 147, 27)
HSLhsl(73, 69%, 34%)
HSVhsv(73, 82%, 58%)
CMYKcmyk(17%, 0%, 81.6%, 42.4%)
CIE-LABlab(57.16, -24.74, 55.02)
CIE-LCHlch(57.16, 60.32, 114.22°)
OKLaboklab(62.22% -0.0734 0.1201)
OKLCHoklch(62.22% 0.141 121.4)
XYZxyz(18.6579, 25.0841, 4.8955)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A931B #341B93
analogous
#93701B #7A931B #3E931B
triadic
#7A931B #1B7A93 #931B7A
tetradic
#7A931B #1B9370 #341B93 #931B3E
square
#7A931B #1B9370 #341B93 #931B3E
split-complementary
#7A931B #1B3E93 #701B93
monochromatic
#242C08 #4F5F12 #7A931B #A5C724 #BFDE4B

Accessibility & contrast

On white

3.49
#7A931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7A931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A931B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A931B#FFFFFF#000000##000000
##7A931B1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#818B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a931b;
/* rgb */ color: rgb(122, 147, 27);
/* oklch */ color: oklch(62.2% 0.141 121.4);
Tailwind
colors: {
  custom: {
    50: '#a4b263',
    500: '#7a931b',
    950: '#000000',
  },
}
SCSS
$custom: #7a931b;
$custom-light: #a4b263;
$custom-dark: #000000;
JSON
{
  "hex": "#7a931b",
  "rgb": {
    "r": 122,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 72.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62225,
    "c": 0.14077,
    "h": 121.4
  },
  "luminance": 0.25084
}

Semantic roles & 50–950 ramp

primary
#7A931B
secondary
#634AC0
accent
#3CEC61
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A931B

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

Preview Lab → · Contrast checker → · Palette generator →

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