#3A6511#3A6511

#3A6511 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.8% C 0.120 H 133.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3A6511
RGBrgb(58, 101, 17)
HSLhsl(91, 71%, 23%)
HSVhsv(91, 83%, 40%)
CMYKcmyk(42.6%, 0%, 83.2%, 60.4%)
CIE-LABlab(38.28, -29.51, 39.40)
CIE-LCHlch(38.28, 49.23, 126.83°)
OKLaboklab(45.81% -0.083 0.0872)
OKLCHoklch(45.81% 0.12 133.6)
XYZxyz(6.4997, 10.2470, 2.1656)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6511 #3C1165
analogous
#646511 #3A6511 #116512
triadic
#3A6511 #113A65 #65113A
tetradic
#3A6511 #116465 #3C1165 #651211
square
#3A6511 #116465 #3C1165 #651211
split-complementary
#3A6511 #121165 #651164
monochromatic
#0F1A04 #1C3108 #3A6511 #58991A #76CE23

Accessibility & contrast

On white

6.89
#3A6511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A6511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6511
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6511#FFFFFF#000000##FFFFFF
##3A65111.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#3A6155
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a6511;
/* rgb */ color: rgb(58, 101, 17);
/* oklch */ color: oklch(45.8% 0.120 133.6);
Tailwind
colors: {
  custom: {
    50: '#759157',
    500: '#3a6511',
    950: '#000000',
  },
}
SCSS
$custom: #3a6511;
$custom-light: #759157;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6511",
  "rgb": {
    "r": 58,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 90.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45809,
    "c": 0.12045,
    "h": 133.6
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#3A6511
secondary
#6A359D
accent
#3AEE96
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090D03
muted
#7B7D78

Preview Lab

Preview with #3A6511

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

Preview Lab → · Contrast checker → · Palette generator →

#3A6511 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva