#7A731A#7A731A

#7A731A is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.5% C 0.106 H 104.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7A731A
RGBrgb(122, 115, 26)
HSLhsl(56, 65%, 29%)
HSVhsv(56, 79%, 48%)
CMYKcmyk(0%, 5.7%, 78.7%, 52.2%)
CIE-LABlab(47.59, -7.89, 46.65)
CIE-LCHlch(47.59, 47.31, 99.61°)
OKLaboklab(54.55% -0.0268 0.1021)
OKLCHoklch(54.55% 0.106 104.7)
XYZxyz(14.3438, 16.4742, 3.4014)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A731A #1A217A
analogous
#7A431A #7A731A #517A1A
triadic
#7A731A #1A7A73 #731A7A
tetradic
#7A731A #1A7A43 #1A217A #7A1A51
square
#7A731A #1A7A43 #1A217A #7A1A51
split-complementary
#7A731A #1A517A #431A7A
monochromatic
#191805 #48430F #7A731A #ACA325 #D5CA39

Accessibility & contrast

On white

4.89
#7A731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7A731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A731A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A731A#FFFFFF#000000##FFFFFF
##7A731A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F06
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#846B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a731a;
/* rgb */ color: rgb(122, 115, 26);
/* oklch */ color: oklch(54.5% 0.106 104.7);
Tailwind
colors: {
  custom: {
    50: '#a49b5e',
    500: '#7a731a',
    950: '#000000',
  },
}
SCSS
$custom: #7a731a;
$custom-light: #a49b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a731a",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 55.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.1056,
    "h": 104.7
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#7A731A
secondary
#4149AE
accent
#4CE840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A731A

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

Preview Lab → · Contrast checker → · Palette generator →

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