#7D7E16#7D7E16

#7D7E16 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.118 H 110.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D7E16
RGBrgb(125, 126, 22)
HSLhsl(61, 70%, 29%)
HSVhsv(61, 83%, 49%)
CMYKcmyk(0.8%, 0%, 82.5%, 50.6%)
CIE-LABlab(51.08, -12.71, 51.20)
CIE-LCHlch(51.08, 52.75, 103.94°)
OKLaboklab(57.4% -0.0408 0.1109)
OKLCHoklch(57.4% 0.118 110.2)
XYZxyz(16.0637, 19.3401, 3.6457)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E16 #17167E
analogous
#7E4B16 #7D7E16 #497E16
triadic
#7D7E16 #167D7E #7E167D
tetradic
#7D7E16 #167E4B #17167E #7E1649
square
#7D7E16 #167E4B #17167E #7E1649
split-complementary
#7D7E16 #16497E #4B167E
monochromatic
#1A1A05 #494A0D #7D7E16 #B1B21F #DADB33

Accessibility & contrast

On white

4.31
#7D7E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7D7E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E16
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E16#FFFFFF#000000##000000
##7D7E161.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e16;
/* rgb */ color: rgb(125, 126, 22);
/* oklch */ color: oklch(57.4% 0.118 110.2);
Tailwind
colors: {
  custom: {
    50: '#a6a35e',
    500: '#7d7e16',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e16;
$custom-light: #a6a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e16",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 60.577,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.11819,
    "h": 110.2
  },
  "luminance": 0.1934
}

Semantic roles & 50–950 ramp

primary
#7D7E16
secondary
#3E3DB3
accent
#3BED3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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