#7D6916#7D6916

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

Color values

HEX#7D6916
RGBrgb(125, 105, 22)
HSLhsl(48, 70%, 29%)
HSVhsv(48, 82%, 49%)
CMYKcmyk(0%, 16%, 82.4%, 51%)
CIE-LABlab(44.97, -0.94, 45.79)
CIE-LCHlch(44.97, 45.80, 91.18°)
OKLaboklab(52.54% -0.0078 0.0993)
OKLCHoklch(52.54% 0.1 94.5)
XYZxyz(13.6546, 14.5219, 2.8427)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6916 #162A7D
analogous
#7D3616 #7D6916 #5E7D16
triadic
#7D6916 #167D69 #69167D
tetradic
#7D6916 #167D36 #162A7D #7D165E
square
#7D6916 #167D36 #162A7D #7D165E
split-complementary
#7D6916 #165E7D #36167D
monochromatic
#1A1605 #493D0D #7D6916 #B1951F #DBBA32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6916#FFFFFF#000000##FFFFFF
##7D69161.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)
#756703
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#88605A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6916;
/* rgb */ color: rgb(125, 105, 22);
/* oklch */ color: oklch(52.5% 0.100 94.5);
Tailwind
colors: {
  custom: {
    50: '#a6935b',
    500: '#7d6916',
    950: '#000000',
  },
}
SCSS
$custom: #7d6916;
$custom-light: #a6935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6916",
  "rgb": {
    "r": 125,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 48.35,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.0996,
    "h": 94.5
  },
  "luminance": 0.14521
}

Semantic roles & 50–950 ramp

primary
#7D6916
secondary
#3D54B2
accent
#5DED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6916

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

Preview Lab → · Contrast checker → · Palette generator →

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