#304115#304115

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

Color values

HEX#304115
RGBrgb(48, 65, 21)
HSLhsl(83, 51%, 17%)
HSVhsv(83, 68%, 25%)
CMYKcmyk(26.2%, 0%, 67.7%, 74.5%)
CIE-LABlab(25.15, -15.16, 24.09)
CIE-LCHlch(25.15, 28.46, 122.18°)
OKLaboklab(34.95% -0.0429 0.0559)
OKLCHoklch(34.95% 0.07 127.5)
XYZxyz(3.2446, 4.4631, 1.3998)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304115 #261541
analogous
#413C15 #304115 #1A4115
triadic
#304115 #153041 #411530
tetradic
#304115 #15413C #261541 #41151A
square
#304115 #15413C #261541 #41151A
split-complementary
#304115 #151A41 #3C1541
monochromatic
#111707 #111707 #304115 #526F24 #749E33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##304115#FFFFFF#000000##FFFFFF
##3041151.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)
#443C10
Deuteranopia (green-blind)
#423B18
Tritanopia (blue-blind)
#323E38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #304115;
/* rgb */ color: rgb(48, 65, 21);
/* oklch */ color: oklch(35.0% 0.070 127.5);
Tailwind
colors: {
  custom: {
    50: '#6a7554',
    500: '#304115',
    950: '#000000',
  },
}
SCSS
$custom: #304115;
$custom-light: #6a7554;
$custom-dark: #000000;
JSON
{
  "hex": "#304115",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 83.182,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.07044,
    "h": 127.5
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#304115
secondary
#523979
accent
#4DDB84
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #304115

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

Preview Lab → · Contrast checker → · Palette generator →

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