#38701B#38701B

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

Color values

HEX#38701B
RGBrgb(56, 112, 27)
HSLhsl(100, 61%, 27%)
HSVhsv(100, 76%, 44%)
CMYKcmyk(50%, 0%, 75.9%, 56.1%)
CIE-LABlab(42.01, -34.43, 39.28)
CIE-LCHlch(42.01, 52.24, 131.23°)
OKLaboklab(48.86% -0.0955 0.0886)
OKLCHoklch(48.86% 0.13 137.1)
XYZxyz(7.6227, 12.5077, 3.0493)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38701B #531B70
analogous
#63701B #38701B #1B7028
triadic
#38701B #1B3870 #701B38
tetradic
#38701B #1B6370 #531B70 #70281B
square
#38701B #1B6370 #531B70 #70281B
split-complementary
#38701B #281B70 #701B63
monochromatic
#0C1906 #1F3F0F #38701B #51A127 #6BCF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38701B#FFFFFF#000000##FFFFFF
##38701B1.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)
#74660C
Deuteranopia (green-blind)
#6D6123
Tritanopia (blue-blind)
#356C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #38701b;
/* rgb */ color: rgb(56, 112, 27);
/* oklch */ color: oklch(48.9% 0.130 137.1);
Tailwind
colors: {
  custom: {
    50: '#74995d',
    500: '#38701b',
    950: '#000000',
  },
}
SCSS
$custom: #38701b;
$custom-light: #74995d;
$custom-dark: #000000;
JSON
{
  "hex": "#38701b",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 99.529,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48862,
    "c": 0.13027,
    "h": 137.1
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#38701B
secondary
#8342A5
accent
#44E4AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #38701B

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

Preview Lab → · Contrast checker → · Palette generator →

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