#7A731E#7A731E

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

Color values

HEX#7A731E
RGBrgb(122, 115, 30)
HSLhsl(55, 61%, 30%)
HSVhsv(55, 75%, 48%)
CMYKcmyk(0%, 5.7%, 75.4%, 52.2%)
CIE-LABlab(47.62, -7.70, 45.17)
CIE-LCHlch(47.62, 45.83, 99.68°)
OKLaboklab(54.58% -0.0259 0.0998)
OKLCHoklch(54.58% 0.103 104.6)
XYZxyz(14.3917, 16.4933, 3.6535)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A731E #1E257A
analogous
#7A451E #7A731E #537A1E
triadic
#7A731E #1E7A73 #731E7A
tetradic
#7A731E #1E7A45 #1E257A #7A1E53
square
#7A731E #1E7A45 #1E257A #7A1E53
split-complementary
#7A731E #1E537A #451E7A
monochromatic
#191706 #494512 #7A731E #ABA12A #D0C642

Accessibility & contrast

On white

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

On black

4.30
#7A731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A731E#FFFFFF#000000##FFFFFF
##7A731E1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a731e;
/* rgb */ color: rgb(122, 115, 30);
/* oklch */ color: oklch(54.6% 0.103 104.6);
Tailwind
colors: {
  custom: {
    50: '#a39b60',
    500: '#7a731e',
    950: '#000000',
  },
}
SCSS
$custom: #7a731e;
$custom-light: #a39b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a731e",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 55.435,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54577,
    "c": 0.10311,
    "h": 104.6
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#7A731E
secondary
#464EAE
accent
#50E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A731E

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

Preview Lab → · Contrast checker → · Palette generator →

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