#7B711F#7B711F

#7B711F is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.100 H 102.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7B711F
RGBrgb(123, 113, 31)
HSLhsl(53, 60%, 30%)
HSVhsv(53, 75%, 48%)
CMYKcmyk(0%, 8.1%, 74.8%, 51.8%)
CIE-LABlab(47.13, -6.06, 44.34)
CIE-LCHlch(47.13, 44.75, 97.78°)
OKLaboklab(54.22% -0.0212 0.0982)
OKLCHoklch(54.22% 0.1 102.2)
XYZxyz(14.3215, 16.1208, 3.6533)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B711F #1F297B
analogous
#7B431F #7B711F #577B1F
triadic
#7B711F #1F7B71 #711F7B
tetradic
#7B711F #1F7B43 #1F297B #7B1F57
square
#7B711F #1F7B43 #1F297B #7B1F57
split-complementary
#7B711F #1F577B #431F7B
monochromatic
#191706 #4A4413 #7B711F #AC9E2B #D0C144

Accessibility & contrast

On white

4.97
#7B711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7B711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B711F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B711F#FFFFFF#000000##FFFFFF
##7B711F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D11
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#856961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b711f;
/* rgb */ color: rgb(123, 113, 31);
/* oklch */ color: oklch(54.2% 0.100 102.2);
Tailwind
colors: {
  custom: {
    50: '#a49961',
    500: '#7b711f',
    950: '#000000',
  },
}
SCSS
$custom: #7b711f;
$custom-light: #a49961;
$custom-dark: #000000;
JSON
{
  "hex": "#7b711f",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 53.478,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.10046,
    "h": 102.2
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#7B711F
secondary
#4853AE
accent
#56E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B711F

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

Preview Lab → · Contrast checker → · Palette generator →

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