#7D6D22#7D6D22

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

Color values

HEX#7D6D22
RGBrgb(125, 109, 34)
HSLhsl(49, 57%, 31%)
HSVhsv(49, 73%, 49%)
CMYKcmyk(0%, 12.8%, 72.8%, 51%)
CIE-LABlab(46.20, -2.68, 42.22)
CIE-LCHlch(46.20, 42.31, 93.63°)
OKLaboklab(53.53% -0.0114 0.0942)
OKLCHoklch(53.53% 0.095 96.9)
XYZxyz(14.2155, 15.4135, 3.7394)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6D22 #22327D
analogous
#7D3F22 #7D6D22 #5F7D22
triadic
#7D6D22 #227D6D #6D227D
tetradic
#7D6D22 #227D3F #22327D #7D225F
square
#7D6D22 #227D3F #22327D #7D225F
split-complementary
#7D6D22 #225F7D #3F227D
monochromatic
#1D1908 #4D4315 #7D6D22 #AD972F #CEB74B

Accessibility & contrast

On white

5.14
#7D6D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7D6D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6D22
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6D22#FFFFFF#000000##FFFFFF
##7D6D221.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A17
Deuteranopia (green-blind)
#7C7026
Tritanopia (blue-blind)
#87645E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d6d22;
/* rgb */ color: rgb(125, 109, 34);
/* oklch */ color: oklch(53.5% 0.095 96.9);
Tailwind
colors: {
  custom: {
    50: '#a69662',
    500: '#7d6d22',
    950: '#000000',
  },
}
SCSS
$custom: #7d6d22;
$custom-light: #a69662;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6d22",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 49.451,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.09492,
    "h": 96.9
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

primary
#7D6D22
secondary
#4B5DB0
accent
#62E047
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7D6D22

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

Preview Lab → · Contrast checker → · Palette generator →

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