#7A8A25#7A8A25

#7A8A25 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.124 H 118.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7A8A25
RGBrgb(122, 138, 37)
HSLhsl(70, 58%, 34%)
HSVhsv(70, 73%, 54%)
CMYKcmyk(11.6%, 0%, 73.2%, 45.9%)
CIE-LABlab(54.50, -19.71, 49.16)
CIE-LCHlch(54.50, 52.96, 111.84°)
OKLaboklab(60.1% -0.0587 0.1095)
OKLCHoklch(60.1% 0.124 118.2)
XYZxyz(17.4488, 22.4483, 5.1636)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A25 #35258A
analogous
#8A6825 #7A8A25 #488A25
triadic
#7A8A25 #257A8A #8A257A
tetradic
#7A8A25 #258A68 #35258A #8A2548
square
#7A8A25 #258A68 #35258A #8A2548
split-complementary
#7A8A25 #25488A #68258A
monochromatic
#25290B #4F5A18 #7A8A25 #A5BA32 #BFD257

Accessibility & contrast

On white

3.83
#7A8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7A8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A25
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A25#FFFFFF#000000##000000
##7A8A251.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938213
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#828276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a25;
/* rgb */ color: rgb(122, 138, 37);
/* oklch */ color: oklch(60.1% 0.124 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3ac67',
    500: '#7a8a25',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a25;
$custom-light: #a3ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a25",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 69.505,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60101,
    "c": 0.12424,
    "h": 118.2
  },
  "luminance": 0.22448
}

Semantic roles & 50–950 ramp

primary
#7A8A25
secondary
#6454B7
accent
#47E15F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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