#74740F#74740F

#74740F is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.2% C 0.113 H 109.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#74740F
RGBrgb(116, 116, 15)
HSLhsl(60, 77%, 26%)
HSVhsv(60, 87%, 45%)
CMYKcmyk(0%, 0%, 87.1%, 54.5%)
CIE-LABlab(47.29, -11.69, 49.57)
CIE-LCHlch(47.29, 50.93, 103.26°)
OKLaboklab(54.16% -0.038 0.1065)
OKLCHoklch(54.16% 0.113 109.6)
XYZxyz(13.5346, 16.2387, 2.8733)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74740F #0F0F74
analogous
#74410F #74740F #41740F
triadic
#74740F #0F7474 #740F74
tetradic
#74740F #0F7441 #0F0F74 #740F41
square
#74740F #0F7441 #0F0F74 #740F41
split-complementary
#74740F #0F4174 #410F74
monochromatic
#1B1B04 #3E3E08 #74740F #AAAA16 #E0E01D

Accessibility & contrast

On white

4.94
#74740F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#74740F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #74740F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74740F#FFFFFF#000000##FFFFFF
##74740F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7F711A
Tritanopia (blue-blind)
#7D6C62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #74740f;
/* rgb */ color: rgb(116, 116, 15);
/* oklch */ color: oklch(54.2% 0.113 109.6);
Tailwind
colors: {
  custom: {
    50: '#a09b5a',
    500: '#74740f',
    950: '#000000',
  },
}
SCSS
$custom: #74740f;
$custom-light: #a09b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#74740f",
  "rgb": {
    "r": 116,
    "g": 116,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.11308,
    "h": 109.6
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#74740F
secondary
#3333AC
accent
#34F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #74740F

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

Preview Lab → · Contrast checker → · Palette generator →

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