#74791A#74791A

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

Color values

HEX#74791A
RGBrgb(116, 121, 26)
HSLhsl(63, 65%, 29%)
HSVhsv(63, 79%, 47%)
CMYKcmyk(4.1%, 0%, 78.5%, 52.5%)
CIE-LABlab(48.84, -14.00, 47.61)
CIE-LCHlch(48.84, 49.62, 106.38°)
OKLaboklab(55.42% -0.0435 0.1044)
OKLCHoklch(55.42% 0.113 112.6)
XYZxyz(14.2267, 17.4627, 3.5983)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74791A #1F1A79
analogous
#794F1A #74791A #45791A
triadic
#74791A #1A7479 #791A74
tetradic
#74791A #1A794F #1F1A79 #791A45
square
#74791A #1A794F #1F1A79 #791A45
split-complementary
#74791A #1A4579 #4F1A79
monochromatic
#181905 #44470F #74791A #A4AB25 #CCD439

Accessibility & contrast

On white

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

On black

4.49
#74791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##74791A#FFFFFF#000000##FFFFFF
##74791A1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837303
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#7C7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #74791a;
/* rgb */ color: rgb(116, 121, 26);
/* oklch */ color: oklch(55.4% 0.113 112.6);
Tailwind
colors: {
  custom: {
    50: '#9f9f5f',
    500: '#74791a',
    950: '#000000',
  },
}
SCSS
$custom: #74791a;
$custom-light: #9f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#74791a",
  "rgb": {
    "r": 116,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 63.158,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.11313,
    "h": 112.6
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#74791A
secondary
#4741AD
accent
#40E849
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74791A

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

Preview Lab → · Contrast checker → · Palette generator →

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