#7A7E17#7A7E17

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

Color values

HEX#7A7E17
RGBrgb(122, 126, 23)
HSLhsl(62, 69%, 29%)
HSVhsv(62, 82%, 49%)
CMYKcmyk(3.2%, 0%, 81.7%, 50.6%)
CIE-LABlab(50.83, -14.05, 50.57)
CIE-LCHlch(50.83, 52.49, 105.53°)
OKLaboklab(57.13% -0.0443 0.1099)
OKLCHoklch(57.13% 0.119 111.9)
XYZxyz(15.6421, 19.1215, 3.6773)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E17 #1B177E
analogous
#7E4F17 #7A7E17 #477E17
triadic
#7A7E17 #177A7E #7E177A
tetradic
#7A7E17 #177E4F #1B177E #7E1747
square
#7A7E17 #177E4F #1B177E #7E1747
split-complementary
#7A7E17 #17477E #4F177E
monochromatic
#191A05 #484A0E #7A7E17 #ACB220 #D4DA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7E17#FFFFFF#000000##000000
##7A7E171.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)
#897A21
Tritanopia (blue-blind)
#83766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7e17;
/* rgb */ color: rgb(122, 126, 23);
/* oklch */ color: oklch(57.1% 0.118 111.9);
Tailwind
colors: {
  custom: {
    50: '#a4a35f',
    500: '#7a7e17',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e17;
$custom-light: #a4a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e17",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 62.33,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.1185,
    "h": 111.9
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#7A7E17
secondary
#433EB3
accent
#3CEC43
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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