#7D6917#7D6917

#7D6917 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.5% C 0.099 H 94.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D6917
RGBrgb(125, 105, 23)
HSLhsl(48, 69%, 29%)
HSVhsv(48, 82%, 49%)
CMYKcmyk(0%, 16%, 81.6%, 51%)
CIE-LABlab(44.98, -0.90, 45.44)
CIE-LCHlch(44.98, 45.45, 91.14°)
OKLaboklab(52.54% -0.0076 0.0988)
OKLCHoklch(52.54% 0.099 94.4)
XYZxyz(13.6644, 14.5258, 2.8945)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6917 #172B7D
analogous
#7D3617 #7D6917 #5E7D17
triadic
#7D6917 #177D69 #69177D
tetradic
#7D6917 #177D36 #172B7D #7D175E
square
#7D6917 #177D36 #172B7D #7D175E
split-complementary
#7D6917 #175E7D #36177D
monochromatic
#1A1605 #493E0D #7D6917 #B19421 #DAB935

Accessibility & contrast

On white

5.38
#7D6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7D6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6917
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6917#FFFFFF#000000##FFFFFF
##7D69171.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#88605A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6917;
/* rgb */ color: rgb(125, 105, 23);
/* oklch */ color: oklch(52.5% 0.099 94.4);
Tailwind
colors: {
  custom: {
    50: '#a6935c',
    500: '#7d6917',
    950: '#000000',
  },
}
SCSS
$custom: #7d6917;
$custom-light: #a6935c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6917",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 48.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.09905,
    "h": 94.4
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#7D6917
secondary
#3E55B2
accent
#5FEC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6917

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

Preview Lab → · Contrast checker → · Palette generator →

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