#3A6510#3A6510

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

Color values

HEX#3A6510
RGBrgb(58, 101, 16)
HSLhsl(90, 73%, 23%)
HSVhsv(90, 84%, 40%)
CMYKcmyk(42.6%, 0%, 84.2%, 60.4%)
CIE-LABlab(38.28, -29.57, 39.73)
CIE-LCHlch(38.28, 49.52, 126.66°)
OKLaboklab(45.8% -0.0833 0.0878)
OKLCHoklch(45.8% 0.121 133.5)
XYZxyz(6.4920, 10.2440, 2.1253)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6510 #3B1065
analogous
#646510 #3A6510 #106510
triadic
#3A6510 #103A65 #65103A
tetradic
#3A6510 #106465 #3B1065 #651010
square
#3A6510 #106465 #3B1065 #651010
split-complementary
#3A6510 #101065 #651064
monochromatic
#0F1A04 #1C3008 #3A6510 #589A18 #77CF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6510#FFFFFF#000000##FFFFFF
##3A65101.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: #3a6510;
/* rgb */ color: rgb(58, 101, 16);
/* oklch */ color: oklch(45.8% 0.121 133.5);
Tailwind
colors: {
  custom: {
    50: '#759157',
    500: '#3a6510',
    950: '#000000',
  },
}
SCSS
$custom: #3a6510;
$custom-light: #759157;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6510",
  "rgb": {
    "r": 58,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 90.353,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.12098,
    "h": 133.5
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#3A6510
secondary
#69339D
accent
#38EF95
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090D03
muted
#7B7D78

Preview Lab

Preview with #3A6510

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

Preview Lab → · Contrast checker → · Palette generator →

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