#7D741B#7D741B

#7D741B is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.106 H 103.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7D741B
RGBrgb(125, 116, 27)
HSLhsl(54, 64%, 30%)
HSVhsv(54, 78%, 49%)
CMYKcmyk(0%, 7.2%, 78.4%, 51%)
CIE-LABlab(48.17, -7.00, 46.93)
CIE-LCHlch(48.17, 47.45, 98.48°)
OKLaboklab(55.08% -0.0244 0.1028)
OKLCHoklch(55.08% 0.106 103.4)
XYZxyz(14.9013, 16.9305, 3.5197)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D741B #1B247D
analogous
#7D431B #7D741B #557D1B
triadic
#7D741B #1B7D74 #741B7D
tetradic
#7D741B #1B7D43 #1B247D #7D1B55
square
#7D741B #1B7D43 #1B247D #7D1B55
split-complementary
#7D741B #1B557D #431B7D
monochromatic
#191705 #4B4510 #7D741B #AFA326 #D5C73D

Accessibility & contrast

On white

4.79
#7D741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D741B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D741B#FFFFFF#000000##FFFFFF
##7D741B1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d741b;
/* rgb */ color: rgb(125, 116, 27);
/* oklch */ color: oklch(55.1% 0.106 103.4);
Tailwind
colors: {
  custom: {
    50: '#a69b5f',
    500: '#7d741b',
    950: '#000000',
  },
}
SCSS
$custom: #7d741b;
$custom-light: #a69b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d741b",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 54.49,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.10566,
    "h": 103.4
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#7D741B
secondary
#434DB1
accent
#50E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D741B

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

Preview Lab → · Contrast checker → · Palette generator →

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