#7D7F16#7D7F16

#7D7F16 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.119 H 110.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D7F16
RGBrgb(125, 127, 22)
HSLhsl(61, 70%, 29%)
HSVhsv(61, 83%, 50%)
CMYKcmyk(1.6%, 0%, 82.7%, 50.2%)
CIE-LABlab(51.38, -13.25, 51.46)
CIE-LCHlch(51.38, 53.13, 104.44°)
OKLaboklab(57.63% -0.0423 0.1115)
OKLCHoklch(57.63% 0.119 110.8)
XYZxyz(16.1922, 19.5971, 3.6886)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7F16 #18167F
analogous
#7F4D16 #7D7F16 #497F16
triadic
#7D7F16 #167D7F #7F167D
tetradic
#7D7F16 #167F4D #18167F #7F1649
square
#7D7F16 #167F4D #18167F #7F1649
split-complementary
#7D7F16 #16497F #4D167F
monochromatic
#1A1A05 #4A4B0D #7D7F16 #B0B31F #D9DC34

Accessibility & contrast

On white

4.27
#7D7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7D7F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7F16
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7F16#FFFFFF#000000##000000
##7D7F161.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C20
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7f16;
/* rgb */ color: rgb(125, 127, 22);
/* oklch */ color: oklch(57.6% 0.119 110.8);
Tailwind
colors: {
  custom: {
    50: '#a6a35f',
    500: '#7d7f16',
    950: '#000000',
  },
}
SCSS
$custom: #7d7f16;
$custom-light: #a6a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7f16",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 61.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57631,
    "c": 0.11924,
    "h": 110.8
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#7D7F16
secondary
#3F3DB4
accent
#3BED3E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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