#7A831A#7A831A

#7A831A is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.123 H 114.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A831A
RGBrgb(122, 131, 26)
HSLhsl(65, 67%, 31%)
HSVhsv(65, 80%, 51%)
CMYKcmyk(6.9%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.34, -16.60, 50.99)
CIE-LCHlch(52.34, 53.62, 108.03°)
OKLaboklab(58.34% -0.0511 0.1114)
OKLCHoklch(58.34% 0.123 114.6)
XYZxyz(16.3293, 20.4451, 4.0632)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A831A #231A83
analogous
#83571A #7A831A #45831A
triadic
#7A831A #1A7A83 #831A7A
tetradic
#7A831A #1A8357 #231A83 #831A45
square
#7A831A #1A8357 #231A83 #831A45
split-complementary
#7A831A #1A4583 #571A83
monochromatic
#1B1D06 #4A5010 #7A831A #AAB624 #CCD93F

Accessibility & contrast

On white

4.13
#7A831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7A831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A831A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A831A#FFFFFF#000000##000000
##7A831A1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#827B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a831a;
/* rgb */ color: rgb(122, 131, 26);
/* oklch */ color: oklch(58.3% 0.123 114.6);
Tailwind
colors: {
  custom: {
    50: '#a4a661',
    500: '#7a831a',
    950: '#000000',
  },
}
SCSS
$custom: #7a831a;
$custom-light: #a4a661;
$custom-dark: #000000;
JSON
{
  "hex": "#7a831a",
  "rgb": {
    "r": 122,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 65.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.12252,
    "h": 114.6
  },
  "luminance": 0.20445
}

Semantic roles & 50–950 ramp

primary
#7A831A
secondary
#4C42B7
accent
#3EEA4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A831A

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

Preview Lab → · Contrast checker → · Palette generator →

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