#7D6E18#7D6E18

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

Color values

HEX#7D6E18
RGBrgb(125, 110, 24)
HSLhsl(51, 68%, 29%)
HSVhsv(51, 81%, 49%)
CMYKcmyk(0%, 12%, 80.8%, 51%)
CIE-LABlab(46.42, -3.73, 46.39)
CIE-LCHlch(46.42, 46.54, 94.60°)
OKLaboklab(53.68% -0.0155 0.101)
OKLCHoklch(53.68% 0.102 98.7)
XYZxyz(14.1990, 15.5785, 3.1230)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6E18 #18277D
analogous
#7D3C18 #7D6E18 #5A7D18
triadic
#7D6E18 #187D6E #6E187D
tetradic
#7D6E18 #187D3C #18277D #7D185A
square
#7D6E18 #187D3C #18277D #7D185A
split-complementary
#7D6E18 #185A7D #3C187D
monochromatic
#1A1705 #4A410E #7D6E18 #B09B22 #D9C137

Accessibility & contrast

On white

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

On black

4.12
#7D6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D6E18#FFFFFF#000000##FFFFFF
##7D6E181.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7E701E
Tritanopia (blue-blind)
#87655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d6e18;
/* rgb */ color: rgb(125, 110, 24);
/* oklch */ color: oklch(53.7% 0.102 98.7);
Tailwind
colors: {
  custom: {
    50: '#a6975d',
    500: '#7d6e18',
    950: '#000000',
  },
}
SCSS
$custom: #7d6e18;
$custom-light: #a6975d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6e18",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 51.089,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.1022,
    "h": 98.7
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#7D6E18
secondary
#3F50B2
accent
#57EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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