#7A7D16#7A7D16

#7A7D16 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.118 H 111.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A7D16
RGBrgb(122, 125, 22)
HSLhsl(62, 70%, 29%)
HSVhsv(62, 82%, 49%)
CMYKcmyk(2.4%, 0%, 82.4%, 51%)
CIE-LABlab(50.53, -13.55, 50.61)
CIE-LCHlch(50.53, 52.39, 104.99°)
OKLaboklab(56.89% -0.043 0.1098)
OKLCHoklch(56.89% 0.118 111.4)
XYZxyz(15.5050, 18.8632, 3.5831)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D16 #19167D
analogous
#7D4D16 #7A7D16 #477D16
triadic
#7A7D16 #167A7D #7D167A
tetradic
#7A7D16 #167D4D #19167D #7D1647
square
#7A7D16 #167D4D #19167D #7D1647
split-complementary
#7A7D16 #16477D #4D167D
monochromatic
#191A05 #47490D #7A7D16 #ADB11F #D6DB32

Accessibility & contrast

On white

4.40
#7A7D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7A7D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7D16
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7D16#FFFFFF#000000##000000
##7A7D161.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#887920
Tritanopia (blue-blind)
#83756A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7d16;
/* rgb */ color: rgb(122, 125, 22);
/* oklch */ color: oklch(56.9% 0.118 111.4);
Tailwind
colors: {
  custom: {
    50: '#a4a25e',
    500: '#7a7d16',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d16;
$custom-light: #a4a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d16",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 61.748,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.11792,
    "h": 111.4
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#7A7D16
secondary
#403DB2
accent
#3BED40
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7A7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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