#74841B#74841B

#74841B is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.1% C 0.125 H 118.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#74841B
RGBrgb(116, 132, 27)
HSLhsl(69, 66%, 31%)
HSVhsv(69, 80%, 52%)
CMYKcmyk(12.1%, 0%, 79.5%, 48.2%)
CIE-LABlab(52.17, -19.77, 50.34)
CIE-LCHlch(52.17, 54.08, 111.44°)
OKLaboklab(58.09% -0.0594 0.1104)
OKLCHoklch(58.09% 0.125 118.3)
XYZxyz(15.6519, 20.2948, 4.1294)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74841B #2B1B84
analogous
#845F1B #74841B #3F841B
triadic
#74841B #1B7484 #841B74
tetradic
#74841B #1B845F #2B1B84 #841B3F
square
#74841B #1B845F #2B1B84 #841B3F
split-complementary
#74841B #1B3F84 #5F1B84
monochromatic
#1B1E06 #475111 #74841B #A1B725 #C1D841

Accessibility & contrast

On white

4.15
#74841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#74841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74841B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74841B#FFFFFF#000000##000000
##74841B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#7B7C71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #74841b;
/* rgb */ color: rgb(116, 132, 27);
/* oklch */ color: oklch(58.1% 0.125 118.3);
Tailwind
colors: {
  custom: {
    50: '#9fa761',
    500: '#74841b',
    950: '#000000',
  },
}
SCSS
$custom: #74841b;
$custom-light: #9fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#74841b",
  "rgb": {
    "r": 116,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 69.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.12537,
    "h": 118.3
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#74841B
secondary
#5543B7
accent
#3FE959
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74841B

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

Preview Lab → · Contrast checker → · Palette generator →

#74841B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva