#74791F#74791F

#74791F is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.4% C 0.110 H 112.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#74791F
RGBrgb(116, 121, 31)
HSLhsl(63, 59%, 30%)
HSVhsv(63, 74%, 47%)
CMYKcmyk(4.1%, 0%, 74.4%, 52.5%)
CIE-LABlab(48.87, -13.75, 45.81)
CIE-LCHlch(48.87, 47.83, 106.71°)
OKLaboklab(55.45% -0.0424 0.1016)
OKLCHoklch(55.45% 0.11 112.7)
XYZxyz(14.2876, 17.4870, 3.9187)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74791F #241F79
analogous
#79511F #74791F #47791F
triadic
#74791F #1F7479 #791F74
tetradic
#74791F #1F7951 #241F79 #791F47
square
#74791F #1F7951 #241F79 #791F47
split-complementary
#74791F #1F4779 #511F79
monochromatic
#171806 #454813 #74791F #A3AA2B #C7CF43

Accessibility & contrast

On white

4.67
#74791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#74791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #74791F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74791F#FFFFFF#000000##FFFFFF
##74791F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730E
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#7C7168
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #74791f;
/* rgb */ color: rgb(116, 121, 31);
/* oklch */ color: oklch(55.4% 0.110 112.7);
Tailwind
colors: {
  custom: {
    50: '#9f9f62',
    500: '#74791f',
    950: '#000000',
  },
}
SCSS
$custom: #74791f;
$custom-light: #9f9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#74791f",
  "rgb": {
    "r": 116,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 63.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.11005,
    "h": 112.7
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#74791F
secondary
#4D47AC
accent
#45E24E
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #74791F

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

Preview Lab → · Contrast checker → · Palette generator →

#74791F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva