#74791C#74791C

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

Color values

HEX#74791C
RGBrgb(116, 121, 28)
HSLhsl(63, 62%, 29%)
HSVhsv(63, 77%, 47%)
CMYKcmyk(4.1%, 0%, 76.9%, 52.5%)
CIE-LABlab(48.85, -13.90, 46.91)
CIE-LCHlch(48.85, 48.93, 106.51°)
OKLaboklab(55.43% -0.0431 0.1033)
OKLCHoklch(55.43% 0.112 112.6)
XYZxyz(14.2499, 17.4719, 3.7201)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74791C #211C79
analogous
#79501C #74791C #46791C
triadic
#74791C #1C7479 #791C74
tetradic
#74791C #1C7950 #211C79 #791C46
square
#74791C #1C7950 #211C79 #791C46
split-complementary
#74791C #1C4679 #501C79
monochromatic
#181906 #444710 #74791C #A4AB28 #CAD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74791C#FFFFFF#000000##FFFFFF
##74791C1.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)
#837308
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#7C7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #74791c;
/* rgb */ color: rgb(116, 121, 28);
/* oklch */ color: oklch(55.4% 0.112 112.6);
Tailwind
colors: {
  custom: {
    50: '#9f9f60',
    500: '#74791c',
    950: '#000000',
  },
}
SCSS
$custom: #74791c;
$custom-light: #9f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#74791c",
  "rgb": {
    "r": 116,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 63.226,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.11195,
    "h": 112.6
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#74791C
secondary
#4944AD
accent
#42E54B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74791C

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

Preview Lab → · Contrast checker → · Palette generator →

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