#7A7318#7A7318

#7A7318 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.5% C 0.107 H 104.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7A7318
RGBrgb(122, 115, 24)
HSLhsl(56, 67%, 29%)
HSVhsv(56, 80%, 48%)
CMYKcmyk(0%, 5.7%, 80.3%, 52.2%)
CIE-LABlab(47.58, -7.98, 47.34)
CIE-LCHlch(47.58, 48.01, 99.57°)
OKLaboklab(54.54% -0.0273 0.1032)
OKLCHoklch(54.54% 0.107 104.8)
XYZxyz(14.3223, 16.4656, 3.2877)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7318 #181F7A
analogous
#7A4218 #7A7318 #507A18
triadic
#7A7318 #187A73 #73187A
tetradic
#7A7318 #187A42 #181F7A #7A1850
square
#7A7318 #187A42 #181F7A #7A1850
split-complementary
#7A7318 #18507A #42187A
monochromatic
#1A1805 #47430E #7A7318 #ADA322 #D7CC35

Accessibility & contrast

On white

4.89
#7A7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7A7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7318
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7318#FFFFFF#000000##FFFFFF
##7A73181.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#80731F
Tritanopia (blue-blind)
#846B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7318;
/* rgb */ color: rgb(122, 115, 24);
/* oklch */ color: oklch(54.5% 0.107 104.8);
Tailwind
colors: {
  custom: {
    50: '#a49b5e',
    500: '#7a7318',
    950: '#000000',
  },
}
SCSS
$custom: #7a7318;
$custom-light: #a49b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7318",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 55.714,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.10674,
    "h": 104.8
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

primary
#7A7318
secondary
#3F47AF
accent
#4AEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7318

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

Preview Lab → · Contrast checker → · Palette generator →

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