#7D741F#7D741F

#7D741F is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.103 H 103.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D741F
RGBrgb(125, 116, 31)
HSLhsl(54, 60%, 31%)
HSVhsv(54, 75%, 49%)
CMYKcmyk(0%, 7.2%, 75.2%, 51%)
CIE-LABlab(48.20, -6.81, 45.44)
CIE-LCHlch(48.20, 45.95, 98.52°)
OKLaboklab(55.11% -0.0234 0.1004)
OKLCHoklch(55.11% 0.103 103.1)
XYZxyz(14.9508, 16.9503, 3.7803)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D741F #1F287D
analogous
#7D451F #7D741F #577D1F
triadic
#7D741F #1F7D74 #741F7D
tetradic
#7D741F #1F7D45 #1F287D #7D1F57
square
#7D741F #1F7D45 #1F287D #7D1F57
split-complementary
#7D741F #1F577D #451F7D
monochromatic
#1B1907 #4C4613 #7D741F #AEA22B #D1C445

Accessibility & contrast

On white

4.78
#7D741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7D741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D741F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D741F#FFFFFF#000000##FFFFFF
##7D741F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#876C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d741f;
/* rgb */ color: rgb(125, 116, 31);
/* oklch */ color: oklch(55.1% 0.103 103.1);
Tailwind
colors: {
  custom: {
    50: '#a69b61',
    500: '#7d741f',
    950: '#000000',
  },
}
SCSS
$custom: #7d741f;
$custom-light: #a69b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d741f",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 54.255,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.10314,
    "h": 103.1
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#7D741F
secondary
#4852B0
accent
#54E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D741F

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

Preview Lab → · Contrast checker → · Palette generator →

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