#7A741B#7A741B

#7A741B is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.106 H 105.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7A741B
RGBrgb(122, 116, 27)
HSLhsl(56, 64%, 29%)
HSVhsv(56, 78%, 48%)
CMYKcmyk(0%, 4.9%, 77.9%, 52.2%)
CIE-LABlab(47.89, -8.41, 46.57)
CIE-LCHlch(47.89, 47.32, 100.23°)
OKLaboklab(54.79% -0.0282 0.1022)
OKLCHoklch(54.79% 0.106 105.4)
XYZxyz(14.4699, 16.7080, 3.4995)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A741B #1B217A
analogous
#7A451B #7A741B #517A1B
triadic
#7A741B #1B7A74 #741B7A
tetradic
#7A741B #1B7A45 #1B217A #7A1B51
square
#7A741B #1B7A45 #1B217A #7A1B51
split-complementary
#7A741B #1B517A #451B7A
monochromatic
#191806 #484410 #7A741B #ACA426 #D4CA3C

Accessibility & contrast

On white

4.84
#7A741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7A741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A741B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A741B#FFFFFF#000000##FFFFFF
##7A741B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#846C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a741b;
/* rgb */ color: rgb(122, 116, 27);
/* oklch */ color: oklch(54.8% 0.106 105.4);
Tailwind
colors: {
  custom: {
    50: '#a49b5f',
    500: '#7a741b',
    950: '#000000',
  },
}
SCSS
$custom: #7a741b;
$custom-light: #a49b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a741b",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 56.211,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.10597,
    "h": 105.4
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#7A741B
secondary
#4349AE
accent
#4BE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A741B

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

Preview Lab → · Contrast checker → · Palette generator →

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