#74801A#74801A

#74801A is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.1% C 0.121 H 116.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#74801A
RGBrgb(116, 128, 26)
HSLhsl(67, 66%, 30%)
HSVhsv(67, 80%, 50%)
CMYKcmyk(9.4%, 0%, 79.7%, 49.8%)
CIE-LABlab(50.95, -17.73, 49.55)
CIE-LCHlch(50.95, 52.63, 109.69°)
OKLaboklab(57.11% -0.0539 0.1085)
OKLCHoklch(57.11% 0.121 116.4)
XYZxyz(15.1085, 19.2261, 3.8922)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74801A #261A80
analogous
#80591A #74801A #41801A
triadic
#74801A #1A7480 #801A74
tetradic
#74801A #1A8059 #261A80 #801A41
square
#74801A #1A8059 #261A80 #801A41
split-complementary
#74801A #1A4180 #591A80
monochromatic
#181A05 #464D10 #74801A #A2B324 #C5D83D

Accessibility & contrast

On white

4.33
#74801A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#74801A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74801A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74801A#FFFFFF#000000##000000
##74801A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#7C786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #74801a;
/* rgb */ color: rgb(116, 128, 26);
/* oklch */ color: oklch(57.1% 0.121 116.4);
Tailwind
colors: {
  custom: {
    50: '#9fa460',
    500: '#74801a',
    950: '#000000',
  },
}
SCSS
$custom: #74801a;
$custom-light: #9fa460;
$custom-dark: #000000;
JSON
{
  "hex": "#74801a",
  "rgb": {
    "r": 116,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 67.059,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.12117,
    "h": 116.4
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#74801A
secondary
#4F42B4
accent
#3FE953
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #74801A

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

Preview Lab → · Contrast checker → · Palette generator →

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