#7A6318#7A6318

#7A6318 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.9% C 0.094 H 90.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7A6318
RGBrgb(122, 99, 24)
HSLhsl(46, 67%, 29%)
HSVhsv(46, 80%, 48%)
CMYKcmyk(0%, 18.9%, 80.3%, 52.2%)
CIE-LABlab(42.96, 1.19, 43.10)
CIE-LCHlch(42.96, 43.12, 88.42°)
OKLaboklab(50.87% -0.0013 0.0941)
OKLCHoklch(50.87% 0.094 90.8)
XYZxyz(12.6535, 13.1280, 2.7315)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6318 #182F7A
analogous
#7A3218 #7A6318 #607A18
triadic
#7A6318 #187A63 #63187A
tetradic
#7A6318 #187A32 #182F7A #7A1860
square
#7A6318 #187A32 #182F7A #7A1860
split-complementary
#7A6318 #18607A #32187A
monochromatic
#1A1505 #47390E #7A6318 #AD8C22 #D7B135

Accessibility & contrast

On white

5.79
#7A6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7A6318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6318
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6318#FFFFFF#000000##FFFFFF
##7A63181.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6209
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#855A55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a6318;
/* rgb */ color: rgb(122, 99, 24);
/* oklch */ color: oklch(50.9% 0.094 90.8);
Tailwind
colors: {
  custom: {
    50: '#a48f5b',
    500: '#7a6318',
    950: '#000000',
  },
}
SCSS
$custom: #7a6318;
$custom-light: #a48f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6318",
  "rgb": {
    "r": 122,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 45.918,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50872,
    "c": 0.09413,
    "h": 90.8
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#7A6318
secondary
#3F59AF
accent
#66EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6318

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

Preview Lab → · Contrast checker → · Palette generator →

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