#7D7014#7D7014

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

Color values

HEX#7D7014
RGBrgb(125, 112, 20)
HSLhsl(53, 72%, 28%)
HSVhsv(53, 84%, 49%)
CMYKcmyk(0%, 10.4%, 84%, 51%)
CIE-LABlab(46.97, -5.02, 48.22)
CIE-LCHlch(46.97, 48.48, 95.95°)
OKLaboklab(54.12% -0.0195 0.1041)
OKLCHoklch(54.12% 0.106 100.6)
XYZxyz(14.3786, 15.9995, 2.9925)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7014 #14217D
analogous
#7D3B14 #7D7014 #557D14
triadic
#7D7014 #147D70 #70147D
tetradic
#7D7014 #147D3B #14217D #7D1455
square
#7D7014 #147D3B #14217D #7D1455
split-complementary
#7D7014 #14557D #3B147D
monochromatic
#1A1804 #48410C #7D7014 #B29F1C #DEC82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7014#FFFFFF#000000##FFFFFF
##7D70141.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)
#7F721C
Tritanopia (blue-blind)
#87675F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d7014;
/* rgb */ color: rgb(125, 112, 20);
/* oklch */ color: oklch(54.1% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#a6985b',
    500: '#7d7014',
    950: '#000000',
  },
}
SCSS
$custom: #7d7014;
$custom-light: #a6985b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7014",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 52.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.1059,
    "h": 100.6
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#7D7014
secondary
#3A49B2
accent
#4FEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D7014

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

Preview Lab → · Contrast checker → · Palette generator →

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