#7A7A17#7A7A17

#7A7A17 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.114 H 109.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7A7A17
RGBrgb(122, 122, 23)
HSLhsl(60, 68%, 28%)
HSVhsv(60, 81%, 48%)
CMYKcmyk(0%, 0%, 81.1%, 52.2%)
CIE-LABlab(49.64, -11.89, 49.52)
CIE-LCHlch(49.64, 50.93, 103.50°)
OKLaboklab(56.18% -0.0383 0.1077)
OKLCHoklch(56.18% 0.114 109.6)
XYZxyz(15.1408, 18.1190, 3.5102)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7A17 #17177A
analogous
#7A4817 #7A7A17 #487A17
triadic
#7A7A17 #177A7A #7A177A
tetradic
#7A7A17 #177A48 #17177A #7A1748
square
#7A7A17 #177A48 #17177A #7A1748
split-complementary
#7A7A17 #17487A #48177A
monochromatic
#1A1A05 #47470D #7A7A17 #ADAD21 #D9D933

Accessibility & contrast

On white

4.54
#7A7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7A7A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7A17
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7A17#FFFFFF#000000##000000
##7A7A171.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#867720
Tritanopia (blue-blind)
#837268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a7a17;
/* rgb */ color: rgb(122, 122, 23);
/* oklch */ color: oklch(56.2% 0.114 109.6);
Tailwind
colors: {
  custom: {
    50: '#a4a05e',
    500: '#7a7a17',
    950: '#000000',
  },
}
SCSS
$custom: #7a7a17;
$custom-light: #a4a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7a17",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.11425,
    "h": 109.6
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#7A7A17
secondary
#3E3EAF
accent
#3DEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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