#38671A#38671A

#38671A is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.3% C 0.119 H 135.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#38671A
RGBrgb(56, 103, 26)
HSLhsl(97, 60%, 25%)
HSVhsv(97, 75%, 40%)
CMYKcmyk(45.6%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.92, -30.54, 36.56)
CIE-LCHlch(38.92, 47.63, 129.87°)
OKLaboklab(46.33% -0.085 0.0828)
OKLCHoklch(46.33% 0.119 135.8)
XYZxyz(6.6674, 10.6154, 2.6747)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38671A #491A67
analogous
#5F671A #38671A #1A6722
triadic
#38671A #1A3867 #671A38
tetradic
#38671A #1A5F67 #491A67 #67221A
square
#38671A #1A5F67 #491A67 #67221A
split-complementary
#38671A #221A67 #671A5F
monochromatic
#0D1806 #1D360E #38671A #539826 #6DC933

Accessibility & contrast

On white

6.72
#38671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#38671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38671A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38671A#FFFFFF#000000##FFFFFF
##38671A1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0D
Deuteranopia (green-blind)
#655A21
Tritanopia (blue-blind)
#366358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #38671a;
/* rgb */ color: rgb(56, 103, 26);
/* oklch */ color: oklch(46.3% 0.119 135.8);
Tailwind
colors: {
  custom: {
    50: '#73935c',
    500: '#38671a',
    950: '#000000',
  },
}
SCSS
$custom: #38671a;
$custom-light: #73935c;
$custom-dark: #000000;
JSON
{
  "hex": "#38671a",
  "rgb": {
    "r": 56,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 96.623,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46326,
    "c": 0.11866,
    "h": 135.8
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#38671A
secondary
#79409D
accent
#45E3A5
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #38671A

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

Preview Lab → · Contrast checker → · Palette generator →

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