#304113#304113

#304113 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.072 H 127.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#304113
RGBrgb(48, 65, 19)
HSLhsl(82, 55%, 16%)
HSVhsv(82, 71%, 25%)
CMYKcmyk(26.2%, 0%, 70.8%, 74.5%)
CIE-LABlab(25.12, -15.36, 25.12)
CIE-LCHlch(25.12, 29.45, 121.44°)
OKLaboklab(34.93% -0.0436 0.0578)
OKLCHoklch(34.93% 0.072 127)
XYZxyz(3.2268, 4.4559, 1.3060)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304113 #241341
analogous
#413B13 #304113 #194113
triadic
#304113 #133041 #411330
tetradic
#304113 #13413B #241341 #411319
square
#304113 #13413B #241341 #411319
split-complementary
#304113 #131941 #3B1341
monochromatic
#111807 #111807 #304113 #537021 #76A02F

Accessibility & contrast

On white

11.10
#304113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#304113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304113
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304113#FFFFFF#000000##FFFFFF
##3041131.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C0D
Deuteranopia (green-blind)
#423B16
Tritanopia (blue-blind)
#323E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #304113;
/* rgb */ color: rgb(48, 65, 19);
/* oklch */ color: oklch(34.9% 0.072 127.0);
Tailwind
colors: {
  custom: {
    50: '#6a7553',
    500: '#304113',
    950: '#000000',
  },
}
SCSS
$custom: #304113;
$custom-light: #6a7553;
$custom-dark: #000000;
JSON
{
  "hex": "#304113",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 19
  },
  "hsl": {
    "h": 82.174,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34928,
    "c": 0.07243,
    "h": 127
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#304113
secondary
#4F367A
accent
#4ADE81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #304113

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

Preview Lab → · Contrast checker → · Palette generator →

#304113 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva