#7D7617#7D7617

#7D7617 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.110 H 105.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D7617
RGBrgb(125, 118, 23)
HSLhsl(56, 69%, 29%)
HSVhsv(56, 82%, 49%)
CMYKcmyk(0%, 5.6%, 81.6%, 51%)
CIE-LABlab(48.73, -8.28, 48.82)
CIE-LCHlch(48.73, 49.51, 99.63°)
OKLaboklab(55.52% -0.0284 0.106)
OKLCHoklch(55.52% 0.11 105)
XYZxyz(15.0912, 17.3793, 3.3701)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7617 #171E7D
analogous
#7D4317 #7D7617 #517D17
triadic
#7D7617 #177D76 #76177D
tetradic
#7D7617 #177D43 #171E7D #7D1751
square
#7D7617 #177D43 #171E7D #7D1751
split-complementary
#7D7617 #17517D #43177D
monochromatic
#1A1805 #49450D #7D7617 #B1A721 #DACE35

Accessibility & contrast

On white

4.69
#7D7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7617
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7617#FFFFFF#000000##FFFFFF
##7D76171.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7617;
/* rgb */ color: rgb(125, 118, 23);
/* oklch */ color: oklch(55.5% 0.110 105.0);
Tailwind
colors: {
  custom: {
    50: '#a69d5e',
    500: '#7d7617',
    950: '#000000',
  },
}
SCSS
$custom: #7d7617;
$custom-light: #a69d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7617",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 55.882,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.10973,
    "h": 105
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#7D7617
secondary
#3E46B2
accent
#48EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7617

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

Preview Lab → · Contrast checker → · Palette generator →

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