#38480F#38480F

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

Color values

HEX#38480F
RGBrgb(56, 72, 15)
HSLhsl(77, 66%, 17%)
HSVhsv(77, 79%, 28%)
CMYKcmyk(22.2%, 0%, 79.2%, 71.8%)
CIE-LABlab(28.14, -15.85, 30.36)
CIE-LCHlch(28.14, 34.25, 117.56°)
OKLaboklab(37.51% -0.046 0.068)
OKLCHoklch(37.51% 0.082 124.1)
XYZxyz(4.0345, 5.5099, 1.3028)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38480F #1F0F48
analogous
#483C0F #38480F #1C480F
triadic
#38480F #0F3848 #480F38
tetradic
#38480F #0F483C #1F0F48 #480F1C
square
#38480F #0F483C #1F0F48 #480F1C
split-complementary
#38480F #0F1C48 #3C0F48
monochromatic
#141905 #141905 #38480F #5F7B1A #87AD24

Accessibility & contrast

On white

9.99
#38480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38480F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38480F#FFFFFF#000000##FFFFFF
##38480F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38480f;
/* rgb */ color: rgb(56, 72, 15);
/* oklch */ color: oklch(37.5% 0.082 124.1);
Tailwind
colors: {
  custom: {
    50: '#717b52',
    500: '#38480f',
    950: '#000000',
  },
}
SCSS
$custom: #38480f;
$custom-light: #717b52;
$custom-dark: #000000;
JSON
{
  "hex": "#38480f",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 76.842,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37513,
    "c": 0.08206,
    "h": 124.1
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#38480F
secondary
#473082
accent
#3FE86F
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38480F

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

Preview Lab → · Contrast checker → · Palette generator →

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