#74831B#74831B

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

Color values

HEX#74831B
RGBrgb(116, 131, 27)
HSLhsl(69, 66%, 31%)
HSVhsv(69, 79%, 51%)
CMYKcmyk(11.5%, 0%, 79.4%, 48.6%)
CIE-LABlab(51.87, -19.25, 50.06)
CIE-LCHlch(51.87, 53.63, 111.04°)
OKLaboklab(57.85% -0.058 0.1098)
OKLCHoklch(57.85% 0.124 117.8)
XYZxyz(15.5170, 20.0249, 4.0845)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74831B #2A1B83
analogous
#835E1B #74831B #40831B
triadic
#74831B #1B7483 #831B74
tetradic
#74831B #1B835E #2A1B83 #831B40
square
#74831B #1B835E #2A1B83 #831B40
split-complementary
#74831B #1B4083 #5E1B83
monochromatic
#1A1E06 #475011 #74831B #A1B625 #C2D841

Accessibility & contrast

On white

4.20
#74831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##74831B#FFFFFF#000000##000000
##74831B1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#7C7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #74831b;
/* rgb */ color: rgb(116, 131, 27);
/* oklch */ color: oklch(57.8% 0.124 117.8);
Tailwind
colors: {
  custom: {
    50: '#9fa761',
    500: '#74831b',
    950: '#000000',
  },
}
SCSS
$custom: #74831b;
$custom-light: #9fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#74831b",
  "rgb": {
    "r": 116,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 68.654,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.12417,
    "h": 117.8
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

primary
#74831B
secondary
#5443B6
accent
#3FE958
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74831B

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

Preview Lab → · Contrast checker → · Palette generator →

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