#74781F#74781F

#74781F is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.2% C 0.109 H 112.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#74781F
RGBrgb(116, 120, 31)
HSLhsl(63, 59%, 30%)
HSVhsv(63, 74%, 47%)
CMYKcmyk(3.3%, 0%, 74.2%, 52.9%)
CIE-LABlab(48.57, -13.21, 45.52)
CIE-LCHlch(48.57, 47.40, 106.18°)
OKLaboklab(55.21% -0.0409 0.1009)
OKLCHoklch(55.21% 0.109 112)
XYZxyz(14.1667, 17.2452, 3.8784)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74781F #231F78
analogous
#78501F #74781F #47781F
triadic
#74781F #1F7478 #781F74
tetradic
#74781F #1F7850 #231F78 #781F47
square
#74781F #1F7850 #231F78 #781F47
split-complementary
#74781F #1F4778 #501F78
monochromatic
#181806 #454712 #74781F #A3A92C #C8CE43

Accessibility & contrast

On white

4.72
#74781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#74781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #74781F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74781F#FFFFFF#000000##FFFFFF
##74781F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720F
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#7C7067
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #74781f;
/* rgb */ color: rgb(116, 120, 31);
/* oklch */ color: oklch(55.2% 0.109 112.0);
Tailwind
colors: {
  custom: {
    50: '#9f9e61',
    500: '#74781f',
    950: '#000000',
  },
}
SCSS
$custom: #74781f;
$custom-light: #9f9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#74781f",
  "rgb": {
    "r": 116,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 62.697,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.1089,
    "h": 112
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#74781F
secondary
#4C47AB
accent
#46E24D
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #74781F

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

Preview Lab → · Contrast checker → · Palette generator →

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