#38670F#38670F

#38670F is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.2% C 0.125 H 134.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#38670F
RGBrgb(56, 103, 15)
HSLhsl(92, 75%, 23%)
HSVhsv(92, 85%, 40%)
CMYKcmyk(45.6%, 0%, 85.4%, 59.6%)
CIE-LABlab(38.86, -31.28, 40.55)
CIE-LCHlch(38.86, 51.21, 127.65°)
OKLaboklab(46.25% -0.0878 0.0894)
OKLCHoklch(46.25% 0.125 134.5)
XYZxyz(6.5672, 10.5754, 2.1471)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38670F #3E0F67
analogous
#64670F #38670F #0F6712
triadic
#38670F #0F3867 #670F38
tetradic
#38670F #0F6467 #3E0F67 #67120F
square
#38670F #0F6467 #3E0F67 #67120F
split-complementary
#38670F #120F67 #670F64
monochromatic
#0F1B04 #1B3207 #38670F #559C17 #72D21F

Accessibility & contrast

On white

6.74
#38670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#38670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38670F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38670F#FFFFFF#000000##FFFFFF
##38670F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#376357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #38670f;
/* rgb */ color: rgb(56, 103, 15);
/* oklch */ color: oklch(46.2% 0.125 134.5);
Tailwind
colors: {
  custom: {
    50: '#749356',
    500: '#38670f',
    950: '#000000',
  },
}
SCSS
$custom: #38670f;
$custom-light: #749356;
$custom-dark: #000000;
JSON
{
  "hex": "#38670f",
  "rgb": {
    "r": 56,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 92.045,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46247,
    "c": 0.12527,
    "h": 134.5
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#38670F
secondary
#6D32A0
accent
#37F19A
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #38670F

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

Preview Lab → · Contrast checker → · Palette generator →

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