#7A8425#7A8425

#7A8425 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.117 H 115.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7A8425
RGBrgb(122, 132, 37)
HSLhsl(66, 56%, 33%)
HSVhsv(66, 72%, 52%)
CMYKcmyk(7.6%, 0%, 72%, 48.2%)
CIE-LABlab(52.70, -16.57, 47.39)
CIE-LCHlch(52.70, 50.20, 109.28°)
OKLaboklab(58.66% -0.05 0.1058)
OKLCHoklch(58.66% 0.117 115.3)
XYZxyz(16.6117, 20.7739, 4.8846)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8425 #2F2584
analogous
#845E25 #7A8425 #4A8425
triadic
#7A8425 #257A84 #84257A
tetradic
#7A8425 #25845E #2F2584 #84254A
square
#7A8425 #25845E #2F2584 #84254A
split-complementary
#7A8425 #254A84 #5E2584
monochromatic
#22240A #4E5418 #7A8425 #A6B432 #C2CF54

Accessibility & contrast

On white

4.07
#7A8425 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7A8425 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8425
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8425#FFFFFF#000000##000000
##7A84251.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D15
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#827C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a8425;
/* rgb */ color: rgb(122, 132, 37);
/* oklch */ color: oklch(58.7% 0.117 115.3);
Tailwind
colors: {
  custom: {
    50: '#a3a766',
    500: '#7a8425',
    950: '#000000',
  },
}
SCSS
$custom: #7a8425;
$custom-light: #a3a766;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8425",
  "rgb": {
    "r": 122,
    "g": 132,
    "b": 37
  },
  "hsl": {
    "h": 66.316,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.117,
    "h": 115.3
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

primary
#7A8425
secondary
#5C51B3
accent
#48E058
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8425

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

Preview Lab → · Contrast checker → · Palette generator →

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