#7A7118#7A7118

#7A7118 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.105 H 103.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7A7118
RGBrgb(122, 113, 24)
HSLhsl(54, 67%, 29%)
HSVhsv(54, 80%, 48%)
CMYKcmyk(0%, 7.4%, 80.3%, 52.2%)
CIE-LABlab(46.99, -6.86, 46.81)
CIE-LCHlch(46.99, 47.31, 98.34°)
OKLaboklab(54.07% -0.0241 0.1021)
OKLCHoklch(54.07% 0.105 103.3)
XYZxyz(14.0967, 16.0144, 3.2125)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7118 #18217A
analogous
#7A4018 #7A7118 #527A18
triadic
#7A7118 #187A71 #71187A
tetradic
#7A7118 #187A40 #18217A #7A1852
square
#7A7118 #187A40 #18217A #7A1852
split-complementary
#7A7118 #18527A #40187A
monochromatic
#1A1805 #47420E #7A7118 #ADA022 #D7C835

Accessibility & contrast

On white

5.00
#7A7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A7118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7118
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7118#FFFFFF#000000##FFFFFF
##7A71181.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#846860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a7118;
/* rgb */ color: rgb(122, 113, 24);
/* oklch */ color: oklch(54.1% 0.105 103.3);
Tailwind
colors: {
  custom: {
    50: '#a4995d',
    500: '#7a7118',
    950: '#000000',
  },
}
SCSS
$custom: #7a7118;
$custom-light: #a4995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7118",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 54.49,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.10487,
    "h": 103.3
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#7A7118
secondary
#3F49AF
accent
#4EEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A7118

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

Preview Lab → · Contrast checker → · Palette generator →

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