#7D7019#7D7019

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

Color values

HEX#7D7019
RGBrgb(125, 112, 25)
HSLhsl(52, 67%, 29%)
HSVhsv(52, 80%, 49%)
CMYKcmyk(0%, 10.4%, 80%, 51%)
CIE-LABlab(47.00, -4.83, 46.57)
CIE-LCHlch(47.00, 46.82, 95.92°)
OKLaboklab(54.15% -0.0185 0.1016)
OKLCHoklch(54.15% 0.103 100.3)
XYZxyz(14.4278, 16.0192, 3.2516)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7019 #19267D
analogous
#7D3E19 #7D7019 #587D19
triadic
#7D7019 #197D70 #70197D
tetradic
#7D7019 #197D3E #19267D #7D1958
square
#7D7019 #197D3E #19267D #7D1958
split-complementary
#7D7019 #19587D #3E197D
monochromatic
#1A1705 #4A420F #7D7019 #B09E23 #D7C339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7019#FFFFFF#000000##FFFFFF
##7D70191.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)
#7B6D05
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#876760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d7019;
/* rgb */ color: rgb(125, 112, 25);
/* oklch */ color: oklch(54.1% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#a6985e',
    500: '#7d7019',
    950: '#000000',
  },
}
SCSS
$custom: #7d7019;
$custom-light: #a6985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7019",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 52.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.10328,
    "h": 100.3
  },
  "luminance": 0.16019
}

Semantic roles & 50–950 ramp

primary
#7D7019
secondary
#404FB1
accent
#54EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D7019

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

Preview Lab → · Contrast checker → · Palette generator →

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