#7A7B17#7A7B17

#7A7B17 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.115 H 110.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7A7B17
RGBrgb(122, 123, 23)
HSLhsl(61, 68%, 29%)
HSVhsv(61, 81%, 48%)
CMYKcmyk(0.8%, 0%, 81.3%, 51.8%)
CIE-LABlab(49.94, -12.43, 49.78)
CIE-LCHlch(49.94, 51.31, 104.02°)
OKLaboklab(56.42% -0.0398 0.1082)
OKLCHoklch(56.42% 0.115 110.2)
XYZxyz(15.2642, 18.3658, 3.5513)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B17 #18177B
analogous
#7B4A17 #7A7B17 #487B17
triadic
#7A7B17 #177A7B #7B177A
tetradic
#7A7B17 #177B4A #18177B #7B1748
square
#7A7B17 #177B4A #18177B #7B1748
split-complementary
#7A7B17 #17487B #4A177B
monochromatic
#1A1A05 #47470D #7A7B17 #ADAF21 #D7D933

Accessibility & contrast

On white

4.49
#7A7B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7A7B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7B17
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7B17#FFFFFF#000000##000000
##7A7B171.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b17;
/* rgb */ color: rgb(122, 123, 23);
/* oklch */ color: oklch(56.4% 0.115 110.2);
Tailwind
colors: {
  custom: {
    50: '#a4a05e',
    500: '#7a7b17',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b17;
$custom-light: #a4a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b17",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 60.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.1153,
    "h": 110.2
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#7A7B17
secondary
#3F3EB0
accent
#3CEB3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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