#305F0E#305F0E

#305F0E is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.120 H 135.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#305F0E
RGBrgb(48, 95, 14)
HSLhsl(95, 74%, 21%)
HSVhsv(95, 85%, 37%)
CMYKcmyk(49.5%, 0%, 85.3%, 62.7%)
CIE-LABlab(35.68, -30.67, 37.80)
CIE-LCHlch(35.68, 48.68, 129.06°)
OKLaboklab(43.53% -0.0857 0.0836)
OKLCHoklch(43.53% 0.12 135.7)
XYZxyz(5.3903, 8.8442, 1.8384)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F0E #3D0E5F
analogous
#595F0E #305F0E #0E5F15
triadic
#305F0E #0E305F #5F0E30
tetradic
#305F0E #0E595F #3D0E5F #5F150E
square
#305F0E #0E595F #3D0E5F #5F150E
split-complementary
#305F0E #150E5F #5F0E59
monochromatic
#0D1B04 #152A06 #305F0E #4B9416 #66CA1E

Accessibility & contrast

On white

7.58
#305F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#305F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F0E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F0E#FFFFFF#000000##FFFFFF
##305F0E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#2E5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305f0e;
/* rgb */ color: rgb(48, 95, 14);
/* oklch */ color: oklch(43.5% 0.120 135.7);
Tailwind
colors: {
  custom: {
    50: '#6e8d55',
    500: '#305f0e',
    950: '#000000',
  },
}
SCSS
$custom: #305f0e;
$custom-light: #6e8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#305f0e",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 94.815,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.11968,
    "h": 135.7
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#305F0E
secondary
#6D3099
accent
#37F1A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305F0E

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

Preview Lab → · Contrast checker → · Palette generator →

#305F0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva