#7D7A16#7D7A16

#7D7A16 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.114 H 107.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A16
RGBrgb(125, 122, 22)
HSLhsl(58, 70%, 29%)
HSVhsv(58, 82%, 49%)
CMYKcmyk(0%, 2.4%, 82.4%, 51%)
CIE-LABlab(49.90, -10.53, 50.16)
CIE-LCHlch(49.90, 51.26, 101.85°)
OKLaboklab(56.45% -0.0347 0.1087)
OKLCHoklch(56.45% 0.114 107.7)
XYZxyz(15.5624, 18.3375, 3.4786)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A16 #16197D
analogous
#7D4716 #7D7A16 #4D7D16
triadic
#7D7A16 #167D7A #7A167D
tetradic
#7D7A16 #167D47 #16197D #7D164D
square
#7D7A16 #167D47 #16197D #7D164D
split-complementary
#7D7A16 #164D7D #47167D
monochromatic
#1A1905 #49470D #7D7A16 #B1AD1F #DBD632

Accessibility & contrast

On white

4.50
#7D7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7D7A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A16
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A16#FFFFFF#000000##000000
##7D7A161.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#87781F
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a16;
/* rgb */ color: rgb(125, 122, 22);
/* oklch */ color: oklch(56.5% 0.114 107.7);
Tailwind
colors: {
  custom: {
    50: '#a6a05e',
    500: '#7d7a16',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a16;
$custom-light: #a6a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a16",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 58.252,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.11412,
    "h": 107.7
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#7D7A16
secondary
#3D40B2
accent
#40ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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