#74781D#74781D

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

Color values

HEX#74781D
RGBrgb(116, 120, 29)
HSLhsl(63, 61%, 29%)
HSVhsv(63, 76%, 47%)
CMYKcmyk(3.3%, 0%, 75.8%, 52.9%)
CIE-LABlab(48.55, -13.31, 46.27)
CIE-LCHlch(48.55, 48.14, 106.05°)
OKLaboklab(55.19% -0.0414 0.1021)
OKLCHoklch(55.19% 0.11 112)
XYZxyz(14.1412, 17.2350, 3.7439)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74781D #211D78
analogous
#784F1D #74781D #47781D
triadic
#74781D #1D7478 #781D74
tetradic
#74781D #1D784F #211D78 #781D47
square
#74781D #1D784F #211D78 #781D47
split-complementary
#74781D #1D4778 #4F1D78
monochromatic
#181906 #444711 #74781D #A4A929 #CAD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74781D#FFFFFF#000000##FFFFFF
##74781D1.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)
#82720B
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#7C7067
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #74781d;
/* rgb */ color: rgb(116, 120, 29);
/* oklch */ color: oklch(55.2% 0.110 112.0);
Tailwind
colors: {
  custom: {
    50: '#9f9e60',
    500: '#74781d',
    950: '#000000',
  },
}
SCSS
$custom: #74781d;
$custom-light: #9f9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#74781d",
  "rgb": {
    "r": 116,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 62.637,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55194,
    "c": 0.1102,
    "h": 112
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#74781D
secondary
#4945AC
accent
#44E44B
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #74781D

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

Preview Lab → · Contrast checker → · Palette generator →

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