#74831C#74831C

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

Color values

HEX#74831C
RGBrgb(116, 131, 28)
HSLhsl(69, 65%, 31%)
HSVhsv(69, 79%, 51%)
CMYKcmyk(11.5%, 0%, 78.6%, 48.6%)
CIE-LABlab(51.87, -19.21, 49.73)
CIE-LCHlch(51.87, 53.31, 111.12°)
OKLaboklab(57.85% -0.0578 0.1093)
OKLCHoklch(57.85% 0.124 117.9)
XYZxyz(15.5287, 20.0296, 4.1464)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74831C #2B1C83
analogous
#835E1C #74831C #40831C
triadic
#74831C #1C7483 #831C74
tetradic
#74831C #1C835E #2B1C83 #831C40
square
#74831C #1C835E #2B1C83 #831C40
split-complementary
#74831C #1C4083 #5E1C83
monochromatic
#1B1E06 #475111 #74831C #A1B527 #C1D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##74831C#FFFFFF#000000##000000
##74831C1.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)
#8C7B02
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#7B7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #74831c;
/* rgb */ color: rgb(116, 131, 28);
/* oklch */ color: oklch(57.9% 0.124 117.9);
Tailwind
colors: {
  custom: {
    50: '#9fa761',
    500: '#74831c',
    950: '#000000',
  },
}
SCSS
$custom: #74831c;
$custom-light: #9fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#74831c",
  "rgb": {
    "r": 116,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 68.738,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57853,
    "c": 0.12362,
    "h": 117.9
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#74831C
secondary
#5545B6
accent
#40E858
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #74831C

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

Preview Lab → · Contrast checker → · Palette generator →

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