#3A660F#3A660F

#3A660F is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.123 H 133.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3A660F
RGBrgb(58, 102, 15)
HSLhsl(90, 74%, 23%)
HSVhsv(90, 85%, 40%)
CMYKcmyk(43.1%, 0%, 85.3%, 60%)
CIE-LABlab(38.61, -30.08, 40.36)
CIE-LCHlch(38.61, 50.34, 126.69°)
OKLaboklab(46.08% -0.0847 0.0889)
OKLCHoklch(46.08% 0.123 133.6)
XYZxyz(6.5824, 10.4364, 2.1194)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A660F #3B0F66
analogous
#65660F #3A660F #0F6610
triadic
#3A660F #0F3A66 #660F3A
tetradic
#3A660F #0F6566 #3B0F66 #66100F
square
#3A660F #0F6566 #3B0F66 #66100F
split-complementary
#3A660F #100F66 #660F65
monochromatic
#0F1B04 #1C3107 #3A660F #589B17 #77D11F

Accessibility & contrast

On white

6.80
#3A660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3A660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A660F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A660F#FFFFFF#000000##FFFFFF
##3A660F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#3A6256
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a660f;
/* rgb */ color: rgb(58, 102, 15);
/* oklch */ color: oklch(46.1% 0.123 133.6);
Tailwind
colors: {
  custom: {
    50: '#759256',
    500: '#3a660f',
    950: '#000000',
  },
}
SCSS
$custom: #3a660f;
$custom-light: #759256;
$custom-dark: #000000;
JSON
{
  "hex": "#3a660f",
  "rgb": {
    "r": 58,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 90.345,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.12283,
    "h": 133.6
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#3A660F
secondary
#69329F
accent
#37F195
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #3A660F

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

Preview Lab → · Contrast checker → · Palette generator →

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