#74831F#74831F

#74831F is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.122 H 117.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#74831F
RGBrgb(116, 131, 31)
HSLhsl(69, 62%, 32%)
HSVhsv(69, 76%, 51%)
CMYKcmyk(11.5%, 0%, 76.3%, 48.6%)
CIE-LABlab(51.89, -19.06, 48.70)
CIE-LCHlch(51.89, 52.30, 111.37°)
OKLaboklab(57.87% -0.0571 0.1077)
OKLCHoklch(57.87% 0.122 117.9)
XYZxyz(15.5664, 20.0447, 4.3450)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74831F #2E1F83
analogous
#83601F #74831F #42831F
triadic
#74831F #1F7483 #831F74
tetradic
#74831F #1F8360 #2E1F83 #831F42
square
#74831F #1F8360 #2E1F83 #831F42
split-complementary
#74831F #1F4283 #601F83
monochromatic
#1C2008 #485213 #74831F #A0B42B #BFD449

Accessibility & contrast

On white

4.19
#74831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#74831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74831F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74831F#FFFFFF#000000##000000
##74831F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C09
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#7B7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #74831f;
/* rgb */ color: rgb(116, 131, 31);
/* oklch */ color: oklch(57.9% 0.122 117.9);
Tailwind
colors: {
  custom: {
    50: '#9fa763',
    500: '#74831f',
    950: '#000000',
  },
}
SCSS
$custom: #74831f;
$custom-light: #9fa763;
$custom-dark: #000000;
JSON
{
  "hex": "#74831f",
  "rgb": {
    "r": 116,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 69,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57872,
    "c": 0.12187,
    "h": 117.9
  },
  "luminance": 0.20045
}

Semantic roles & 50–950 ramp

primary
#74831F
secondary
#5948B6
accent
#43E55B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #74831F

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

Preview Lab → · Contrast checker → · Palette generator →

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