#7B741A#7B741A

#7B741A is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.106 H 104.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7B741A
RGBrgb(123, 116, 26)
HSLhsl(56, 65%, 29%)
HSVhsv(56, 79%, 48%)
CMYKcmyk(0%, 5.7%, 78.9%, 51.8%)
CIE-LABlab(47.98, -7.98, 47.04)
CIE-LCHlch(47.98, 47.71, 99.63°)
OKLaboklab(54.88% -0.0272 0.1029)
OKLCHoklch(54.88% 0.106 104.8)
XYZxyz(14.6009, 16.7769, 3.4462)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B741A #1A217B
analogous
#7B441A #7B741A #527B1A
triadic
#7B741A #1A7B74 #741A7B
tetradic
#7B741A #1A7B44 #1A217B #7B1A52
square
#7B741A #1A7B44 #1A217B #7B1A52
split-complementary
#7B741A #1A527B #441A7B
monochromatic
#191805 #48440F #7B741A #AEA425 #D5CA3A

Accessibility & contrast

On white

4.82
#7B741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7B741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B741A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B741A#FFFFFF#000000##FFFFFF
##7B741A1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#817421
Tritanopia (blue-blind)
#856C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b741a;
/* rgb */ color: rgb(123, 116, 26);
/* oklch */ color: oklch(54.9% 0.106 104.8);
Tailwind
colors: {
  custom: {
    50: '#a49b5f',
    500: '#7b741a',
    950: '#000000',
  },
}
SCSS
$custom: #7b741a;
$custom-light: #a49b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b741a",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 55.67,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.10644,
    "h": 104.8
  },
  "luminance": 0.16776
}

Semantic roles & 50–950 ramp

primary
#7B741A
secondary
#4249AF
accent
#4CE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B741A

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

Preview Lab → · Contrast checker → · Palette generator →

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