#7D6B18#7D6B18

#7D6B18 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 53.0% C 0.100 H 96.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D6B18
RGBrgb(125, 107, 24)
HSLhsl(49, 68%, 29%)
HSVhsv(49, 81%, 49%)
CMYKcmyk(0%, 14.4%, 80.8%, 51%)
CIE-LABlab(45.55, -2.02, 45.61)
CIE-LCHlch(45.55, 45.65, 92.53°)
OKLaboklab(53% -0.0106 0.0993)
OKLCHoklch(53% 0.1 96.1)
XYZxyz(13.8808, 14.9421, 3.0170)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6B18 #182A7D
analogous
#7D3918 #7D6B18 #5D7D18
triadic
#7D6B18 #187D6B #6B187D
tetradic
#7D6B18 #187D39 #182A7D #7D185D
square
#7D6B18 #187D39 #182A7D #7D185D
split-complementary
#7D6B18 #185D7D #39187D
monochromatic
#1A1605 #4A3F0E #7D6B18 #B09722 #D9BC37

Accessibility & contrast

On white

5.27
#7D6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D6B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6B18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6B18#FFFFFF#000000##FFFFFF
##7D6B181.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776906
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#88625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d6b18;
/* rgb */ color: rgb(125, 107, 24);
/* oklch */ color: oklch(53.0% 0.100 96.1);
Tailwind
colors: {
  custom: {
    50: '#a6955d',
    500: '#7d6b18',
    950: '#000000',
  },
}
SCSS
$custom: #7d6b18;
$custom-light: #a6955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6b18",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 49.307,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53,
    "c": 0.09991,
    "h": 96.1
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#7D6B18
secondary
#3F54B2
accent
#5CEB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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