#7A741F#7A741F

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

Color values

HEX#7A741F
RGBrgb(122, 116, 31)
HSLhsl(56, 59%, 30%)
HSVhsv(56, 75%, 48%)
CMYKcmyk(0%, 4.9%, 74.6%, 52.2%)
CIE-LABlab(47.92, -8.21, 45.07)
CIE-LCHlch(47.92, 45.81, 100.33°)
OKLaboklab(54.82% -0.0272 0.0998)
OKLCHoklch(54.82% 0.103 105.3)
XYZxyz(14.5193, 16.7278, 3.7600)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A741F #1F257A
analogous
#7A471F #7A741F #527A1F
triadic
#7A741F #1F7A74 #741F7A
tetradic
#7A741F #1F7A47 #1F257A #7A1F52
square
#7A741F #1F7A47 #1F257A #7A1F52
split-complementary
#7A741F #1F527A #471F7A
monochromatic
#181706 #494613 #7A741F #ABA22B #CFC644

Accessibility & contrast

On white

4.83
#7A741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7A741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A741F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A741F#FFFFFF#000000##FFFFFF
##7A741F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a741f;
/* rgb */ color: rgb(122, 116, 31);
/* oklch */ color: oklch(54.8% 0.103 105.3);
Tailwind
colors: {
  custom: {
    50: '#a39b61',
    500: '#7a741f',
    950: '#000000',
  },
}
SCSS
$custom: #7a741f;
$custom-light: #a39b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a741f",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 56.044,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.54818,
    "c": 0.10343,
    "h": 105.3
  },
  "luminance": 0.16727
}

Semantic roles & 50–950 ramp

primary
#7A741F
secondary
#474EAD
accent
#50E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A741F

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

Preview Lab → · Contrast checker → · Palette generator →

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