#7D7016#7D7016

#7D7016 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.105 H 100.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7D7016
RGBrgb(125, 112, 22)
HSLhsl(52, 70%, 29%)
HSVhsv(52, 82%, 49%)
CMYKcmyk(0%, 10.4%, 82.4%, 51%)
CIE-LABlab(46.98, -4.95, 47.59)
CIE-LCHlch(46.98, 47.84, 95.94°)
OKLaboklab(54.13% -0.0191 0.1032)
OKLCHoklch(54.13% 0.105 100.5)
XYZxyz(14.3972, 16.0069, 3.0902)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7016 #16237D
analogous
#7D3D16 #7D7016 #577D16
triadic
#7D7016 #167D70 #70167D
tetradic
#7D7016 #167D3D #16237D #7D1657
square
#7D7016 #167D3D #16237D #7D1657
split-complementary
#7D7016 #16577D #3D167D
monochromatic
#1A1705 #49410D #7D7016 #B19F1F #DBC632

Accessibility & contrast

On white

5.00
#7D7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7D7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7016
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7016#FFFFFF#000000##FFFFFF
##7D70161.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7F721D
Tritanopia (blue-blind)
#87675F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d7016;
/* rgb */ color: rgb(125, 112, 22);
/* oklch */ color: oklch(54.1% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#a6985c',
    500: '#7d7016',
    950: '#000000',
  },
}
SCSS
$custom: #7d7016;
$custom-light: #a6985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7016",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 52.427,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.10491,
    "h": 100.5
  },
  "luminance": 0.16006
}

Semantic roles & 50–950 ramp

primary
#7D7016
secondary
#3D4CB2
accent
#51ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D7016

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

Preview Lab → · Contrast checker → · Palette generator →

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