#7A6F18#7A6F18

#7A6F18 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.6% C 0.103 H 101.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7A6F18
RGBrgb(122, 111, 24)
HSLhsl(53, 67%, 29%)
HSVhsv(53, 80%, 48%)
CMYKcmyk(0%, 9%, 80.3%, 52.2%)
CIE-LABlab(46.41, -5.73, 46.28)
CIE-LCHlch(46.41, 46.63, 97.06°)
OKLaboklab(53.61% -0.021 0.1009)
OKLCHoklch(53.61% 0.103 101.7)
XYZxyz(13.8760, 15.5730, 3.1390)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6F18 #18237A
analogous
#7A3E18 #7A6F18 #547A18
triadic
#7A6F18 #187A6F #6F187A
tetradic
#7A6F18 #187A3E #18237A #7A1854
square
#7A6F18 #187A3E #18237A #7A1854
split-complementary
#7A6F18 #18547A #3E187A
monochromatic
#1A1705 #47400E #7A6F18 #AD9E22 #D7C535

Accessibility & contrast

On white

5.10
#7A6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7A6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6F18
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6F18#FFFFFF#000000##FFFFFF
##7A6F181.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#84665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6f18;
/* rgb */ color: rgb(122, 111, 24);
/* oklch */ color: oklch(53.6% 0.103 101.7);
Tailwind
colors: {
  custom: {
    50: '#a4985d',
    500: '#7a6f18',
    950: '#000000',
  },
}
SCSS
$custom: #7a6f18;
$custom-light: #a4985d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6f18",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 53.265,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.10307,
    "h": 101.7
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#7A6F18
secondary
#3F4CAF
accent
#51EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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