#38480C#38480C

#38480C is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.5% C 0.084 H 123.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#38480C
RGBrgb(56, 72, 12)
HSLhsl(76, 71%, 16%)
HSVhsv(76, 83%, 28%)
CMYKcmyk(22.2%, 0%, 83.3%, 71.8%)
CIE-LABlab(28.12, -16.04, 31.58)
CIE-LCHlch(28.12, 35.42, 116.92°)
OKLaboklab(37.49% -0.0468 0.07)
OKLCHoklch(37.49% 0.084 123.8)
XYZxyz(4.0147, 5.5020, 1.1982)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38480C #1C0C48
analogous
#483A0C #38480C #1A480C
triadic
#38480C #0C3848 #480C38
tetradic
#38480C #0C483A #1C0C48 #480C1A
square
#38480C #0C483A #1C0C48 #480C1A
split-complementary
#38480C #0C1A48 #3A0C48
monochromatic
#141A04 #141A04 #38480C #617C15 #8AB11D

Accessibility & contrast

On white

10.00
#38480C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#38480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38480C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38480C#FFFFFF#000000##FFFFFF
##38480C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4302
Deuteranopia (green-blind)
#4B4212
Tritanopia (blue-blind)
#3B443D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38480c;
/* rgb */ color: rgb(56, 72, 12);
/* oklch */ color: oklch(37.5% 0.084 123.8);
Tailwind
colors: {
  custom: {
    50: '#717b50',
    500: '#38480c',
    950: '#000000',
  },
}
SCSS
$custom: #38480c;
$custom-light: #717b50;
$custom-dark: #000000;
JSON
{
  "hex": "#38480c",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 76,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37489,
    "c": 0.08418,
    "h": 123.8
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#38480C
secondary
#432C84
accent
#3AEE6A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38480C

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

Preview Lab → · Contrast checker → · Palette generator →

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