#7D711B#7D711B

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

Color values

HEX#7D711B
RGBrgb(125, 113, 27)
HSLhsl(53, 64%, 30%)
HSVhsv(53, 78%, 49%)
CMYKcmyk(0%, 9.6%, 78.4%, 51%)
CIE-LABlab(47.30, -5.31, 46.12)
CIE-LCHlch(47.30, 46.42, 96.57°)
OKLaboklab(54.39% -0.0196 0.1011)
OKLCHoklch(54.39% 0.103 101)
XYZxyz(14.5611, 16.2500, 3.4063)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D711B #1B277D
analogous
#7D401B #7D711B #587D1B
triadic
#7D711B #1B7D71 #711B7D
tetradic
#7D711B #1B7D40 #1B277D #7D1B58
square
#7D711B #1B7D40 #1B277D #7D1B58
split-complementary
#7D711B #1B587D #401B7D
monochromatic
#191705 #4B4410 #7D711B #AF9E26 #D5C33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D711B#FFFFFF#000000##FFFFFF
##7D711B1.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)
#7C6D09
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#876861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d711b;
/* rgb */ color: rgb(125, 113, 27);
/* oklch */ color: oklch(54.4% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#a6995f',
    500: '#7d711b',
    950: '#000000',
  },
}
SCSS
$custom: #7d711b;
$custom-light: #a6995f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d711b",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 52.653,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54389,
    "c": 0.10296,
    "h": 101
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#7D711B
secondary
#4350B1
accent
#55E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D711B

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

Preview Lab → · Contrast checker → · Palette generator →

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