#7A6E18#7A6E18

#7A6E18 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.102 H 100.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7A6E18
RGBrgb(122, 110, 24)
HSLhsl(53, 67%, 29%)
HSVhsv(53, 80%, 48%)
CMYKcmyk(0%, 9.8%, 80.3%, 52.2%)
CIE-LABlab(46.12, -5.16, 46.01)
CIE-LCHlch(46.12, 46.30, 96.40°)
OKLaboklab(53.37% -0.0194 0.1004)
OKLCHoklch(53.37% 0.102 100.9)
XYZxyz(13.7675, 15.3560, 3.1028)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6E18 #18247A
analogous
#7A3D18 #7A6E18 #557A18
triadic
#7A6E18 #187A6E #6E187A
tetradic
#7A6E18 #187A3D #18247A #7A1855
square
#7A6E18 #187A3D #18247A #7A1855
split-complementary
#7A6E18 #18557A #3D187A
monochromatic
#1A1705 #47400E #7A6E18 #AD9C22 #D7C335

Accessibility & contrast

On white

5.16
#7A6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7A6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6E18
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6E18#FFFFFF#000000##FFFFFF
##7A6E181.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B04
Deuteranopia (green-blind)
#7D6F1E
Tritanopia (blue-blind)
#84655E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a6e18;
/* rgb */ color: rgb(122, 110, 24);
/* oklch */ color: oklch(53.4% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#a4975d',
    500: '#7a6e18',
    950: '#000000',
  },
}
SCSS
$custom: #7a6e18;
$custom-light: #a4975d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6e18",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 52.653,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.1022,
    "h": 100.9
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#7A6E18
secondary
#3F4DAF
accent
#53EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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