#7A7E16#7A7E16

#7A7E16 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.119 H 112.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7A7E16
RGBrgb(122, 126, 22)
HSLhsl(62, 70%, 29%)
HSVhsv(62, 83%, 49%)
CMYKcmyk(3.2%, 0%, 82.5%, 50.6%)
CIE-LABlab(50.82, -14.09, 50.87)
CIE-LCHlch(50.82, 52.79, 105.48°)
OKLaboklab(57.13% -0.0445 0.1104)
OKLCHoklch(57.13% 0.119 112)
XYZxyz(15.6323, 19.1176, 3.6255)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E16 #1A167E
analogous
#7E4E16 #7A7E16 #467E16
triadic
#7A7E16 #167A7E #7E167A
tetradic
#7A7E16 #167E4E #1A167E #7E1646
square
#7A7E16 #167E4E #1A167E #7E1646
split-complementary
#7A7E16 #16467E #4E167E
monochromatic
#191A05 #484A0D #7A7E16 #ACB21F #D5DB33

Accessibility & contrast

On white

4.35
#7A7E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7A7E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E16
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E16#FFFFFF#000000##000000
##7A7E161.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#83766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7e16;
/* rgb */ color: rgb(122, 126, 22);
/* oklch */ color: oklch(57.1% 0.119 112.0);
Tailwind
colors: {
  custom: {
    50: '#a4a35e',
    500: '#7a7e16',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e16;
$custom-light: #a4a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e16",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 62.308,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57125,
    "c": 0.11899,
    "h": 112
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#7A7E16
secondary
#413DB3
accent
#3BED42
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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