#38671F#38671F

#38671F is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.115 H 136.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#38671F
RGBrgb(56, 103, 31)
HSLhsl(99, 54%, 26%)
HSVhsv(99, 70%, 40%)
CMYKcmyk(45.6%, 0%, 69.9%, 59.6%)
CIE-LABlab(38.97, -30.09, 34.40)
CIE-LCHlch(38.97, 45.70, 131.18°)
OKLaboklab(46.37% -0.0834 0.079)
OKLCHoklch(46.37% 0.115 136.6)
XYZxyz(6.7283, 10.6398, 2.9952)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38671F #4E1F67
analogous
#5C671F #38671F #1F672A
triadic
#38671F #1F3867 #671F38
tetradic
#38671F #1F5C67 #4E1F67 #672A1F
square
#38671F #1F5C67 #4E1F67 #672A1F
split-complementary
#38671F #2A1F67 #671F5C
monochromatic
#0D1807 #1E3811 #38671F #52962D #6BC43C

Accessibility & contrast

On white

6.71
#38671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#38671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38671F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38671F#FFFFFF#000000##FFFFFF
##38671F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E15
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#366358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #38671f;
/* rgb */ color: rgb(56, 103, 31);
/* oklch */ color: oklch(46.4% 0.115 136.6);
Tailwind
colors: {
  custom: {
    50: '#73935f',
    500: '#38671f',
    950: '#000000',
  },
}
SCSS
$custom: #38671f;
$custom-light: #73935f;
$custom-dark: #000000;
JSON
{
  "hex": "#38671f",
  "rgb": {
    "r": 56,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 99.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.11485,
    "h": 136.6
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#38671F
secondary
#7E469B
accent
#4BDDAA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #38671F

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

Preview Lab → · Contrast checker → · Palette generator →

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