#38631B#38631B

#38631B is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.2% C 0.112 H 135.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#38631B
RGBrgb(56, 99, 27)
HSLhsl(96, 57%, 25%)
HSVhsv(96, 73%, 39%)
CMYKcmyk(43.4%, 0%, 72.7%, 61.2%)
CIE-LABlab(37.56, -28.61, 34.71)
CIE-LCHlch(37.56, 44.99, 129.50°)
OKLaboklab(45.21% -0.0797 0.0791)
OKLCHoklch(45.21% 0.112 135.2)
XYZxyz(6.2904, 9.8432, 2.6052)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38631B #461B63
analogous
#5C631B #38631B #1B6322
triadic
#38631B #1B3863 #631B38
tetradic
#38631B #1B5C63 #461B63 #63221B
square
#38631B #1B5C63 #461B63 #63221B
split-complementary
#38631B #221B63 #631B5C
monochromatic
#0E1807 #1D330E #38631B #539328 #6EC335

Accessibility & contrast

On white

7.07
#38631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#38631B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38631B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38631B#FFFFFF#000000##FFFFFF
##38631B1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B10
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#375F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #38631b;
/* rgb */ color: rgb(56, 99, 27);
/* oklch */ color: oklch(45.2% 0.112 135.2);
Tailwind
colors: {
  custom: {
    50: '#73905c',
    500: '#38631b',
    950: '#000000',
  },
}
SCSS
$custom: #38631b;
$custom-light: #73905c;
$custom-dark: #000000;
JSON
{
  "hex": "#38631b",
  "rgb": {
    "r": 56,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 95.833,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45211,
    "c": 0.11228,
    "h": 135.2
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#38631B
secondary
#754198
accent
#47E0A3
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #38631B

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

Preview Lab → · Contrast checker → · Palette generator →

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