#7D7217#7D7217

#7D7217 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.106 H 102.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D7217
RGBrgb(125, 114, 23)
HSLhsl(54, 69%, 29%)
HSVhsv(54, 82%, 49%)
CMYKcmyk(0%, 8.8%, 81.6%, 51%)
CIE-LABlab(47.57, -6.04, 47.78)
CIE-LCHlch(47.57, 48.16, 97.21°)
OKLaboklab(54.6% -0.0221 0.1038)
OKLCHoklch(54.6% 0.106 102)
XYZxyz(14.6301, 16.4571, 3.2164)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7217 #17227D
analogous
#7D3F17 #7D7217 #557D17
triadic
#7D7217 #177D72 #72177D
tetradic
#7D7217 #177D3F #17227D #7D1755
square
#7D7217 #177D3F #17227D #7D1755
split-complementary
#7D7217 #17557D #3F177D
monochromatic
#1A1805 #49430D #7D7217 #B1A121 #DAC835

Accessibility & contrast

On white

4.89
#7D7217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D7217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7217
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7217#FFFFFF#000000##FFFFFF
##7D72171.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#876961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7217;
/* rgb */ color: rgb(125, 114, 23);
/* oklch */ color: oklch(54.6% 0.106 102.0);
Tailwind
colors: {
  custom: {
    50: '#a69a5d',
    500: '#7d7217',
    950: '#000000',
  },
}
SCSS
$custom: #7d7217;
$custom-light: #a69a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7217",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 53.529,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.1061,
    "h": 102
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#7D7217
secondary
#3E4BB2
accent
#4FEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7217

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

Preview Lab → · Contrast checker → · Palette generator →

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