#38711B#38711B

#38711B is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.1% C 0.132 H 137.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#38711B
RGBrgb(56, 113, 27)
HSLhsl(100, 61%, 27%)
HSVhsv(100, 76%, 44%)
CMYKcmyk(50.4%, 0%, 76.1%, 55.7%)
CIE-LABlab(42.35, -34.86, 39.63)
CIE-LCHlch(42.35, 52.78, 131.34°)
OKLaboklab(49.14% -0.0966 0.0894)
OKLCHoklch(49.14% 0.132 137.2)
XYZxyz(7.7336, 12.7296, 3.0862)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38711B #541B71
analogous
#63711B #38711B #1B7129
triadic
#38711B #1B3871 #711B38
tetradic
#38711B #1B6371 #541B71 #71291B
square
#38711B #1B6371 #541B71 #71291B
split-complementary
#38711B #291B71 #711B63
monochromatic
#0C1906 #20400F #38711B #50A227 #6ACF37

Accessibility & contrast

On white

5.92
#38711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#38711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38711B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38711B#FFFFFF#000000##FFFFFF
##38711B1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#356D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #38711b;
/* rgb */ color: rgb(56, 113, 27);
/* oklch */ color: oklch(49.1% 0.132 137.2);
Tailwind
colors: {
  custom: {
    50: '#759a5e',
    500: '#38711b',
    950: '#000000',
  },
}
SCSS
$custom: #38711b;
$custom-light: #759a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#38711b",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 99.767,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.13161,
    "h": 137.2
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#38711B
secondary
#8442A6
accent
#43E5AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38711B

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

Preview Lab → · Contrast checker → · Palette generator →

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