#38701A#38701A

#38701A is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.131 H 137.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#38701A
RGBrgb(56, 112, 26)
HSLhsl(99, 62%, 27%)
HSVhsv(99, 77%, 44%)
CMYKcmyk(50%, 0%, 76.8%, 56.1%)
CIE-LABlab(42.00, -34.51, 39.67)
CIE-LCHlch(42.00, 52.58, 131.02°)
OKLaboklab(48.85% -0.0957 0.0893)
OKLCHoklch(48.85% 0.131 137)
XYZxyz(7.6113, 12.5032, 2.9894)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38701A #521A70
analogous
#63701A #38701A #1A7027
triadic
#38701A #1A3870 #701A38
tetradic
#38701A #1A6370 #521A70 #70271A
square
#38701A #1A6370 #521A70 #70271A
split-complementary
#38701A #271A70 #701A63
monochromatic
#0C1906 #1F3E0E #38701A #51A226 #6BD034

Accessibility & contrast

On white

6.00
#38701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#38701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38701A
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38701A#FFFFFF#000000##FFFFFF
##38701A1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660A
Deuteranopia (green-blind)
#6D6123
Tritanopia (blue-blind)
#356C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #38701a;
/* rgb */ color: rgb(56, 112, 26);
/* oklch */ color: oklch(48.9% 0.131 137.0);
Tailwind
colors: {
  custom: {
    50: '#75995d',
    500: '#38701a',
    950: '#000000',
  },
}
SCSS
$custom: #38701a;
$custom-light: #75995d;
$custom-dark: #000000;
JSON
{
  "hex": "#38701a",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 99.07,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.13092,
    "h": 137
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#38701A
secondary
#8241A5
accent
#42E5AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #38701A

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

Preview Lab → · Contrast checker → · Palette generator →

#38701A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva