#7D7316#7D7316

#7D7316 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.107 H 102.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D7316
RGBrgb(125, 115, 22)
HSLhsl(54, 70%, 29%)
HSVhsv(54, 82%, 49%)
CMYKcmyk(0%, 8%, 82.4%, 51%)
CIE-LABlab(47.85, -6.64, 48.36)
CIE-LCHlch(47.85, 48.81, 97.82°)
OKLaboklab(54.82% -0.0239 0.1048)
OKLCHoklch(54.82% 0.108 102.8)
XYZxyz(14.7337, 16.6800, 3.2024)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7316 #16207D
analogous
#7D4016 #7D7316 #547D16
triadic
#7D7316 #167D73 #73167D
tetradic
#7D7316 #167D40 #16207D #7D1654
square
#7D7316 #167D40 #16207D #7D1654
split-complementary
#7D7316 #16547D #40167D
monochromatic
#1A1805 #49430D #7D7316 #B1A31F #DBCB32

Accessibility & contrast

On white

4.84
#7D7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7D7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7316
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7316#FFFFFF#000000##FFFFFF
##7D73161.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#81741E
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7316;
/* rgb */ color: rgb(125, 115, 22);
/* oklch */ color: oklch(54.8% 0.107 102.8);
Tailwind
colors: {
  custom: {
    50: '#a69a5d',
    500: '#7d7316',
    950: '#000000',
  },
}
SCSS
$custom: #7d7316;
$custom-light: #a69a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7316",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 54.175,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.1075,
    "h": 102.8
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#7D7316
secondary
#3D48B2
accent
#4CED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7316

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

Preview Lab → · Contrast checker → · Palette generator →

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