#38641C#38641C

#38641C is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.5% C 0.113 H 135.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#38641C
RGBrgb(56, 100, 28)
HSLhsl(97, 56%, 25%)
HSVhsv(97, 72%, 39%)
CMYKcmyk(44%, 0%, 72%, 60.8%)
CIE-LABlab(37.91, -28.99, 34.64)
CIE-LCHlch(37.91, 45.17, 129.93°)
OKLaboklab(45.5% -0.0806 0.0791)
OKLCHoklch(45.5% 0.113 135.6)
XYZxyz(6.3975, 10.0386, 2.6989)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38641C #481C64
analogous
#5C641C #38641C #1C6424
triadic
#38641C #1C3864 #641C38
tetradic
#38641C #1C5C64 #481C64 #64241C
square
#38641C #1C5C64 #481C64 #64241C
split-complementary
#38641C #241C64 #641C5C
monochromatic
#0D1807 #1D340F #38641C #539429 #6EC437

Accessibility & contrast

On white

6.98
#38641C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#38641C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38641C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38641C#FFFFFF#000000##FFFFFF
##38641C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C12
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#376055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38641c;
/* rgb */ color: rgb(56, 100, 28);
/* oklch */ color: oklch(45.5% 0.113 135.6);
Tailwind
colors: {
  custom: {
    50: '#73905c',
    500: '#38641c',
    950: '#000000',
  },
}
SCSS
$custom: #38641c;
$custom-light: #73905c;
$custom-dark: #000000;
JSON
{
  "hex": "#38641c",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 96.667,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.11293,
    "h": 135.6
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#38641C
secondary
#784399
accent
#48E0A5
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #38641C

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

Preview Lab → · Contrast checker → · Palette generator →

#38641C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva