#7B741C#7B741C

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

Color values

HEX#7B741C
RGBrgb(123, 116, 28)
HSLhsl(56, 63%, 30%)
HSVhsv(56, 77%, 48%)
CMYKcmyk(0%, 5.7%, 77.2%, 51.8%)
CIE-LABlab(47.99, -7.89, 46.33)
CIE-LCHlch(47.99, 46.99, 99.67°)
OKLaboklab(54.89% -0.0267 0.1018)
OKLCHoklch(54.89% 0.105 104.7)
XYZxyz(14.6240, 16.7862, 3.5681)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B741C #1C237B
analogous
#7B451C #7B741C #537B1C
triadic
#7B741C #1C7B74 #741C7B
tetradic
#7B741C #1C7B45 #1C237B #7B1C53
square
#7B741C #1C7B45 #1C237B #7B1C53
split-complementary
#7B741C #1C537B #451C7B
monochromatic
#191806 #494511 #7B741C #ADA327 #D3C83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B741C#FFFFFF#000000##FFFFFF
##7B741C1.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)
#7F700A
Deuteranopia (green-blind)
#817423
Tritanopia (blue-blind)
#856C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b741c;
/* rgb */ color: rgb(123, 116, 28);
/* oklch */ color: oklch(54.9% 0.105 104.7);
Tailwind
colors: {
  custom: {
    50: '#a49b60',
    500: '#7b741c',
    950: '#000000',
  },
}
SCSS
$custom: #7b741c;
$custom-light: #a49b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b741c",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 55.579,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.10524,
    "h": 104.7
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#7B741C
secondary
#444CAF
accent
#4EE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B741C

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

Preview Lab → · Contrast checker → · Palette generator →

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