#7A731D#7A731D

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

Color values

HEX#7A731D
RGBrgb(122, 115, 29)
HSLhsl(55, 62%, 30%)
HSVhsv(55, 76%, 48%)
CMYKcmyk(0%, 5.7%, 76.2%, 52.2%)
CIE-LABlab(47.61, -7.75, 45.55)
CIE-LCHlch(47.61, 46.21, 99.66°)
OKLaboklab(54.57% -0.0261 0.1004)
OKLCHoklch(54.57% 0.104 104.6)
XYZxyz(14.3792, 16.4883, 3.5873)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A731D #1D247A
analogous
#7A451D #7A731D #537A1D
triadic
#7A731D #1D7A73 #731D7A
tetradic
#7A731D #1D7A45 #1D247A #7A1D53
square
#7A731D #1D7A45 #1D247A #7A1D53
split-complementary
#7A731D #1D537A #451D7A
monochromatic
#191706 #494411 #7A731D #ABA229 #D2C740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A731D#FFFFFF#000000##FFFFFF
##7A731D1.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)
#7E6F0D
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#846B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a731d;
/* rgb */ color: rgb(122, 115, 29);
/* oklch */ color: oklch(54.6% 0.104 104.6);
Tailwind
colors: {
  custom: {
    50: '#a49b60',
    500: '#7a731d',
    950: '#000000',
  },
}
SCSS
$custom: #7a731d;
$custom-light: #a49b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a731d",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 55.484,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.10376,
    "h": 104.6
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#7A731D
secondary
#454DAE
accent
#4FE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A731D

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

Preview Lab → · Contrast checker → · Palette generator →

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