#38641B#38641B

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

Color values

HEX#38641B
RGBrgb(56, 100, 27)
HSLhsl(96, 57%, 25%)
HSVhsv(96, 73%, 39%)
CMYKcmyk(44%, 0%, 73%, 60.8%)
CIE-LABlab(37.90, -29.08, 35.07)
CIE-LCHlch(37.90, 45.56, 129.66°)
OKLaboklab(45.49% -0.081 0.0798)
OKLCHoklch(45.49% 0.114 135.4)
XYZxyz(6.3857, 10.0339, 2.6370)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38641B #471B64
analogous
#5D641B #38641B #1B6422
triadic
#38641B #1B3864 #641B38
tetradic
#38641B #1B5D64 #471B64 #64221B
square
#38641B #1B5D64 #471B64 #64221B
split-complementary
#38641B #221B64 #641B5D
monochromatic
#0D1807 #1D340E #38641B #539428 #6EC435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38641B#FFFFFF#000000##FFFFFF
##38641B1.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)
#685C10
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#376055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38641b;
/* rgb */ color: rgb(56, 100, 27);
/* oklch */ color: oklch(45.5% 0.114 135.4);
Tailwind
colors: {
  custom: {
    50: '#73905c',
    500: '#38641b',
    950: '#000000',
  },
}
SCSS
$custom: #38641b;
$custom-light: #73905c;
$custom-dark: #000000;
JSON
{
  "hex": "#38641b",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 96.164,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.1137,
    "h": 135.4
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#38641B
secondary
#764199
accent
#47E1A4
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #38641B

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

Preview Lab → · Contrast checker → · Palette generator →

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