#38660F#38660F

#38660F is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 46.0% C 0.124 H 134.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#38660F
RGBrgb(56, 102, 15)
HSLhsl(92, 74%, 23%)
HSVhsv(92, 85%, 40%)
CMYKcmyk(45.1%, 0%, 85.3%, 60%)
CIE-LABlab(38.51, -30.83, 40.23)
CIE-LCHlch(38.51, 50.68, 127.46°)
OKLaboklab(45.97% -0.0866 0.0887)
OKLCHoklch(45.97% 0.124 134.3)
XYZxyz(6.4684, 10.3776, 2.1141)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38660F #3D0F66
analogous
#63660F #38660F #0F6611
triadic
#38660F #0F3866 #660F38
tetradic
#38660F #0F6366 #3D0F66 #66110F
square
#38660F #0F6366 #3D0F66 #66110F
split-complementary
#38660F #110F66 #660F63
monochromatic
#0F1B04 #1B3107 #38660F #559B17 #73D11F

Accessibility & contrast

On white

6.83
#38660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#38660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38660F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38660F#FFFFFF#000000##FFFFFF
##38660F1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#376256
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #38660f;
/* rgb */ color: rgb(56, 102, 15);
/* oklch */ color: oklch(46.0% 0.124 134.3);
Tailwind
colors: {
  custom: {
    50: '#749256',
    500: '#38660f',
    950: '#000000',
  },
}
SCSS
$custom: #38660f;
$custom-light: #749256;
$custom-dark: #000000;
JSON
{
  "hex": "#38660f",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 91.724,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.12395,
    "h": 134.3
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#38660F
secondary
#6C329F
accent
#37F199
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #38660F

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

Preview Lab → · Contrast checker → · Palette generator →

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