#7B741F#7B741F

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

Color values

HEX#7B741F
RGBrgb(123, 116, 31)
HSLhsl(55, 60%, 30%)
HSVhsv(55, 75%, 48%)
CMYKcmyk(0%, 5.7%, 74.8%, 51.8%)
CIE-LABlab(48.01, -7.74, 45.19)
CIE-LCHlch(48.01, 45.85, 99.72°)
OKLaboklab(54.91% -0.026 0.1)
OKLCHoklch(54.91% 0.103 104.6)
XYZxyz(14.6617, 16.8012, 3.7667)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B741F #1F267B
analogous
#7B461F #7B741F #547B1F
triadic
#7B741F #1F7B74 #741F7B
tetradic
#7B741F #1F7B46 #1F267B #7B1F54
square
#7B741F #1F7B46 #1F267B #7B1F54
split-complementary
#7B741F #1F547B #461F7B
monochromatic
#191806 #4A4613 #7B741F #ACA22B #D0C544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B741F#FFFFFF#000000##FFFFFF
##7B741F1.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)
#7F7010
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#856C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b741f;
/* rgb */ color: rgb(123, 116, 31);
/* oklch */ color: oklch(54.9% 0.103 104.6);
Tailwind
colors: {
  custom: {
    50: '#a49b61',
    500: '#7b741f',
    950: '#000000',
  },
}
SCSS
$custom: #7b741f;
$custom-light: #a49b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b741f",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 55.435,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.10332,
    "h": 104.6
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#7B741F
secondary
#484FAE
accent
#51E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B741F

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

Preview Lab → · Contrast checker → · Palette generator →

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