#7D6D18#7D6D18

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

Color values

HEX#7D6D18
RGBrgb(125, 109, 24)
HSLhsl(50, 68%, 29%)
HSVhsv(50, 81%, 49%)
CMYKcmyk(0%, 12.8%, 80.8%, 51%)
CIE-LABlab(46.13, -3.16, 46.13)
CIE-LCHlch(46.13, 46.24, 93.92°)
OKLaboklab(53.45% -0.0139 0.1005)
OKLCHoklch(53.45% 0.101 97.9)
XYZxyz(14.0917, 15.3639, 3.0873)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6D18 #18287D
analogous
#7D3B18 #7D6D18 #5B7D18
triadic
#7D6D18 #187D6D #6D187D
tetradic
#7D6D18 #187D3B #18287D #7D185B
square
#7D6D18 #187D3B #18287D #7D185B
split-complementary
#7D6D18 #185B7D #3B187D
monochromatic
#1A1605 #4A400E #7D6D18 #B09A22 #D9BF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6D18#FFFFFF#000000##FFFFFF
##7D6D181.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)
#796A05
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#87645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d6d18;
/* rgb */ color: rgb(125, 109, 24);
/* oklch */ color: oklch(53.5% 0.101 97.9);
Tailwind
colors: {
  custom: {
    50: '#a6965d',
    500: '#7d6d18',
    950: '#000000',
  },
}
SCSS
$custom: #7d6d18;
$custom-light: #a6965d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6d18",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 50.495,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.10142,
    "h": 97.9
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#7D6D18
secondary
#3F51B2
accent
#59EB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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