#7D7816#7D7816

#7D7816 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.112 H 106.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D7816
RGBrgb(125, 120, 22)
HSLhsl(57, 70%, 29%)
HSVhsv(57, 82%, 49%)
CMYKcmyk(0%, 4%, 82.4%, 51%)
CIE-LABlab(49.32, -9.43, 49.65)
CIE-LCHlch(49.32, 50.53, 100.75°)
OKLaboklab(55.98% -0.0317 0.1076)
OKLCHoklch(55.98% 0.112 106.4)
XYZxyz(15.3194, 17.8514, 3.3976)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7816 #161B7D
analogous
#7D4516 #7D7816 #4F7D16
triadic
#7D7816 #167D78 #78167D
tetradic
#7D7816 #167D45 #161B7D #7D164F
square
#7D7816 #167D45 #161B7D #7D164F
split-complementary
#7D7816 #164F7D #45167D
monochromatic
#1A1905 #49460D #7D7816 #B1AA1F #DBD332

Accessibility & contrast

On white

4.59
#7D7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D7816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7816
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7816#FFFFFF#000000##FFFFFF
##7D78161.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7816;
/* rgb */ color: rgb(125, 120, 22);
/* oklch */ color: oklch(56.0% 0.112 106.4);
Tailwind
colors: {
  custom: {
    50: '#a69e5d',
    500: '#7d7816',
    950: '#000000',
  },
}
SCSS
$custom: #7d7816;
$custom-light: #a69e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7816",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 57.087,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.11215,
    "h": 106.4
  },
  "luminance": 0.17851
}

Semantic roles & 50–950 ramp

primary
#7D7816
secondary
#3D43B2
accent
#44ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7816

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

Preview Lab → · Contrast checker → · Palette generator →

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