#7D7117#7D7117

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

Color values

HEX#7D7117
RGBrgb(125, 113, 23)
HSLhsl(53, 69%, 29%)
HSVhsv(53, 82%, 49%)
CMYKcmyk(0%, 9.6%, 81.6%, 51%)
CIE-LABlab(47.28, -5.48, 47.52)
CIE-LCHlch(47.28, 47.83, 96.58°)
OKLaboklab(54.36% -0.0205 0.1032)
OKLCHoklch(54.36% 0.105 101.2)
XYZxyz(14.5179, 16.2328, 3.1790)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7117 #17237D
analogous
#7D3E17 #7D7117 #567D17
triadic
#7D7117 #177D71 #71177D
tetradic
#7D7117 #177D3E #17237D #7D1756
square
#7D7117 #177D3E #17237D #7D1756
split-complementary
#7D7117 #17567D #3E177D
monochromatic
#1A1705 #49420D #7D7117 #B1A021 #DAC635

Accessibility & contrast

On white

4.95
#7D7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D7117
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7117#FFFFFF#000000##FFFFFF
##7D71171.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#876860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d7117;
/* rgb */ color: rgb(125, 113, 23);
/* oklch */ color: oklch(54.4% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#a6995d',
    500: '#7d7117',
    950: '#000000',
  },
}
SCSS
$custom: #7d7117;
$custom-light: #a6995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7117",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 52.941,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.10523,
    "h": 101.2
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#7D7117
secondary
#3E4CB2
accent
#51EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D7117

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

Preview Lab → · Contrast checker → · Palette generator →

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