#3A751B#3A751B

#3A751B is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.136 H 137.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3A751B
RGBrgb(58, 117, 27)
HSLhsl(99, 63%, 28%)
HSVhsv(99, 77%, 46%)
CMYKcmyk(50.4%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.80, -35.90, 41.11)
CIE-LCHlch(43.80, 54.57, 131.13°)
OKLaboklab(50.36% -0.0996 0.0924)
OKLCHoklch(50.36% 0.136 137.1)
XYZxyz(8.3038, 13.7007, 3.2436)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A751B #561B75
analogous
#67751B #3A751B #1B7529
triadic
#3A751B #1B3A75 #751B3A
tetradic
#3A751B #1B6775 #561B75 #75291B
square
#3A751B #1B6775 #561B75 #75291B
split-complementary
#3A751B #291B75 #751B67
monochromatic
#0C1906 #214310 #3A751B #53A726 #6ED139

Accessibility & contrast

On white

5.61
#3A751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3A751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A751B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A751B#FFFFFF#000000##FFFFFF
##3A751B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#716624
Tritanopia (blue-blind)
#367164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a751b;
/* rgb */ color: rgb(58, 117, 27);
/* oklch */ color: oklch(50.4% 0.136 137.1);
Tailwind
colors: {
  custom: {
    50: '#769d5e',
    500: '#3a751b',
    950: '#000000',
  },
}
SCSS
$custom: #3a751b;
$custom-light: #769d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a751b",
  "rgb": {
    "r": 58,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 99.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.13584,
    "h": 137.1
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#3A751B
secondary
#8642A9
accent
#42E6AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A751B

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

Preview Lab → · Contrast checker → · Palette generator →

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