#74791B#74791B

#74791B 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#74791B
RGBrgb(116, 121, 27)
HSLhsl(63, 64%, 29%)
HSVhsv(63, 78%, 47%)
CMYKcmyk(4.1%, 0%, 77.7%, 52.5%)
CIE-LABlab(48.84, -13.95, 47.26)
CIE-LCHlch(48.84, 49.28, 106.44°)
OKLaboklab(55.42% -0.0433 0.1039)
OKLCHoklch(55.42% 0.113 112.6)
XYZxyz(14.2381, 17.4672, 3.6582)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74791B #201B79
analogous
#794F1B #74791B #45791B
triadic
#74791B #1B7479 #791B74
tetradic
#74791B #1B794F #201B79 #791B45
square
#74791B #1B794F #201B79 #791B45
split-complementary
#74791B #1B4579 #4F1B79
monochromatic
#181906 #444710 #74791B #A4AB26 #CBD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74791B#FFFFFF#000000##FFFFFF
##74791B1.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)
#837305
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#7C7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #74791b;
/* rgb */ color: rgb(116, 121, 27);
/* oklch */ color: oklch(55.4% 0.113 112.6);
Tailwind
colors: {
  custom: {
    50: '#9f9f60',
    500: '#74791b',
    950: '#000000',
  },
}
SCSS
$custom: #74791b;
$custom-light: #9f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#74791b",
  "rgb": {
    "r": 116,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 63.191,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55421,
    "c": 0.11255,
    "h": 112.6
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#74791B
secondary
#4843AD
accent
#41E74A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74791B

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

Preview Lab → · Contrast checker → · Palette generator →

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