#7D701F#7D701F

#7D701F is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.100 H 99.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7D701F
RGBrgb(125, 112, 31)
HSLhsl(52, 60%, 31%)
HSVhsv(52, 75%, 49%)
CMYKcmyk(0%, 10.4%, 75.2%, 51%)
CIE-LABlab(47.04, -4.55, 44.32)
CIE-LCHlch(47.04, 44.55, 95.86°)
OKLaboklab(54.19% -0.0171 0.0981)
OKLCHoklch(54.19% 0.1 99.9)
XYZxyz(14.4996, 16.0479, 3.6299)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D701F #1F2C7D
analogous
#7D411F #7D701F #5B7D1F
triadic
#7D701F #1F7D70 #701F7D
tetradic
#7D701F #1F7D41 #1F2C7D #7D1F5B
square
#7D701F #1F7D41 #1F2C7D #7D1F5B
split-complementary
#7D701F #1F5B7D #411F7D
monochromatic
#1B1807 #4C4413 #7D701F #AE9C2B #D1BE45

Accessibility & contrast

On white

4.99
#7D701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7D701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D701F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D701F#FFFFFF#000000##FFFFFF
##7D701F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D11
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#876760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d701f;
/* rgb */ color: rgb(125, 112, 31);
/* oklch */ color: oklch(54.2% 0.100 99.9);
Tailwind
colors: {
  custom: {
    50: '#a69861',
    500: '#7d701f',
    950: '#000000',
  },
}
SCSS
$custom: #7d701f;
$custom-light: #a69861;
$custom-dark: #000000;
JSON
{
  "hex": "#7d701f",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 51.702,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.09954,
    "h": 99.9
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#7D701F
secondary
#4856B0
accent
#5AE344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D701F

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

Preview Lab → · Contrast checker → · Palette generator →

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