#7A741C#7A741C

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

Color values

HEX#7A741C
RGBrgb(122, 116, 28)
HSLhsl(56, 63%, 29%)
HSVhsv(56, 77%, 48%)
CMYKcmyk(0%, 4.9%, 77%, 52.2%)
CIE-LABlab(47.90, -8.36, 46.20)
CIE-LCHlch(47.90, 46.96, 100.26°)
OKLaboklab(54.8% -0.028 0.1016)
OKLCHoklch(54.8% 0.105 105.4)
XYZxyz(14.4816, 16.7128, 3.5614)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A741C #1C227A
analogous
#7A451C #7A741C #517A1C
triadic
#7A741C #1C7A74 #741C7A
tetradic
#7A741C #1C7A45 #1C227A #7A1C51
square
#7A741C #1C7A45 #1C227A #7A1C51
split-complementary
#7A741C #1C517A #451C7A
monochromatic
#191806 #484511 #7A741C #ACA327 #D3C93E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A741C#FFFFFF#000000##FFFFFF
##7A741C1.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)
#7F700A
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#846C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a741c;
/* rgb */ color: rgb(122, 116, 28);
/* oklch */ color: oklch(54.8% 0.105 105.4);
Tailwind
colors: {
  custom: {
    50: '#a49b60',
    500: '#7a741c',
    950: '#000000',
  },
}
SCSS
$custom: #7a741c;
$custom-light: #a49b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a741c",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 56.17,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.10537,
    "h": 105.4
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#7A741C
secondary
#444BAE
accent
#4DE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A741C

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

Preview Lab → · Contrast checker → · Palette generator →

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