#7C741F#7C741F

#7C741F is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.103 H 103.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C741F
RGBrgb(124, 116, 31)
HSLhsl(55, 60%, 30%)
HSVhsv(55, 75%, 49%)
CMYKcmyk(0%, 6.5%, 75%, 51.4%)
CIE-LABlab(48.10, -7.28, 45.32)
CIE-LCHlch(48.10, 45.90, 99.12°)
OKLaboklab(55.01% -0.0247 0.1002)
OKLCHoklch(55.01% 0.103 103.9)
XYZxyz(14.8055, 16.8754, 3.7735)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C741F #1F277C
analogous
#7C461F #7C741F #557C1F
triadic
#7C741F #1F7C74 #741F7C
tetradic
#7C741F #1F7C46 #1F277C #7C1F55
square
#7C741F #1F7C46 #1F277C #7C1F55
split-complementary
#7C741F #1F557C #461F7C
monochromatic
#1A1807 #4B4613 #7C741F #ADA22B #D0C445

Accessibility & contrast

On white

4.80
#7C741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7C741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C741F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C741F#FFFFFF#000000##FFFFFF
##7C741F1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c741f;
/* rgb */ color: rgb(124, 116, 31);
/* oklch */ color: oklch(55.0% 0.103 103.9);
Tailwind
colors: {
  custom: {
    50: '#a59b61',
    500: '#7c741f',
    950: '#000000',
  },
}
SCSS
$custom: #7c741f;
$custom-light: #a59b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c741f",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 54.839,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.10322,
    "h": 103.9
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

primary
#7C741F
secondary
#4850AF
accent
#52E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C741F

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

Preview Lab → · Contrast checker → · Palette generator →

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