#7D711F#7D711F

#7D711F is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.100 H 100.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7D711F
RGBrgb(125, 113, 31)
HSLhsl(52, 60%, 31%)
HSVhsv(52, 75%, 49%)
CMYKcmyk(0%, 9.6%, 75.2%, 51%)
CIE-LABlab(47.33, -5.12, 44.60)
CIE-LCHlch(47.33, 44.89, 96.54°)
OKLaboklab(54.42% -0.0187 0.0987)
OKLCHoklch(54.42% 0.1 100.7)
XYZxyz(14.6106, 16.2698, 3.6669)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D711F #1F2B7D
analogous
#7D421F #7D711F #5A7D1F
triadic
#7D711F #1F7D71 #711F7D
tetradic
#7D711F #1F7D42 #1F2B7D #7D1F5A
square
#7D711F #1F7D42 #1F2B7D #7D1F5A
split-complementary
#7D711F #1F5A7D #421F7D
monochromatic
#1B1807 #4C4513 #7D711F #AE9D2B #D1BF45

Accessibility & contrast

On white

4.94
#7D711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7D711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D711F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D711F#FFFFFF#000000##FFFFFF
##7D711F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E11
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#876861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d711f;
/* rgb */ color: rgb(125, 113, 31);
/* oklch */ color: oklch(54.4% 0.100 100.7);
Tailwind
colors: {
  custom: {
    50: '#a69961',
    500: '#7d711f',
    950: '#000000',
  },
}
SCSS
$custom: #7d711f;
$custom-light: #a69961;
$custom-dark: #000000;
JSON
{
  "hex": "#7d711f",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 52.34,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.10041,
    "h": 100.7
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#7D711F
secondary
#4855B0
accent
#59E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D711F

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

Preview Lab → · Contrast checker → · Palette generator →

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