#38700F#38700F

#38700F is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.8% C 0.137 H 135.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#38700F
RGBrgb(56, 112, 15)
HSLhsl(95, 76%, 25%)
HSVhsv(95, 87%, 44%)
CMYKcmyk(50%, 0%, 86.6%, 56.1%)
CIE-LABlab(41.94, -35.19, 43.35)
CIE-LCHlch(41.94, 55.83, 129.07°)
OKLaboklab(48.78% -0.0983 0.0953)
OKLCHoklch(48.78% 0.137 135.9)
XYZxyz(7.5111, 12.4631, 2.4617)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38700F #470F70
analogous
#69700F #38700F #0F7016
triadic
#38700F #0F3870 #700F38
tetradic
#38700F #0F6970 #470F70 #70160F
square
#38700F #0F6970 #470F70 #70160F
split-complementary
#38700F #160F70 #700F69
monochromatic
#0D1B04 #1D3A08 #38700F #53A616 #6EDC1D

Accessibility & contrast

On white

6.01
#38700F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#38700F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38700F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38700F#FFFFFF#000000##FFFFFF
##38700F1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D611B
Tritanopia (blue-blind)
#366B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #38700f;
/* rgb */ color: rgb(56, 112, 15);
/* oklch */ color: oklch(48.8% 0.137 135.9);
Tailwind
colors: {
  custom: {
    50: '#759958',
    500: '#38700f',
    950: '#000000',
  },
}
SCSS
$custom: #38700f;
$custom-light: #759958;
$custom-dark: #000000;
JSON
{
  "hex": "#38700f",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 94.639,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.13687,
    "h": 135.9
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#38700F
secondary
#7633A8
accent
#35F3A3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #38700F

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

Preview Lab → · Contrast checker → · Palette generator →

#38700F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva