#7D731E#7D731E

#7D731E is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.103 H 102.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D731E
RGBrgb(125, 115, 30)
HSLhsl(54, 61%, 30%)
HSVhsv(54, 76%, 49%)
CMYKcmyk(0%, 8%, 76%, 51%)
CIE-LABlab(47.90, -6.30, 45.55)
CIE-LCHlch(47.90, 45.98, 97.87°)
OKLaboklab(54.87% -0.0221 0.1005)
OKLCHoklch(54.87% 0.103 102.4)
XYZxyz(14.8232, 16.7158, 3.6737)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D731E #1E287D
analogous
#7D431E #7D731E #577D1E
triadic
#7D731E #1E7D73 #731E7D
tetradic
#7D731E #1E7D43 #1E287D #7D1E57
square
#7D731E #1E7D43 #1E287D #7D1E57
split-complementary
#7D731E #1E577D #431E7D
monochromatic
#1A1806 #4C4612 #7D731E #AEA02A #D2C343

Accessibility & contrast

On white

4.84
#7D731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7D731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D731E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D731E#FFFFFF#000000##FFFFFF
##7D731E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#817424
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d731e;
/* rgb */ color: rgb(125, 115, 30);
/* oklch */ color: oklch(54.9% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#a69b61',
    500: '#7d731e',
    950: '#000000',
  },
}
SCSS
$custom: #7d731e;
$custom-light: #a69b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d731e",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 53.684,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.10287,
    "h": 102.4
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#7D731E
secondary
#4652B0
accent
#54E443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D731E

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

Preview Lab → · Contrast checker → · Palette generator →

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