#304313#304313

#304313 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.076 H 128.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#304313
RGBrgb(48, 67, 19)
HSLhsl(84, 56%, 17%)
HSVhsv(84, 72%, 26%)
CMYKcmyk(28.4%, 0%, 71.6%, 73.7%)
CIE-LABlab(25.83, -16.48, 25.89)
CIE-LCHlch(25.83, 30.69, 122.47°)
OKLaboklab(35.5% -0.0467 0.0594)
OKLCHoklch(35.5% 0.076 128.2)
XYZxyz(3.3436, 4.6896, 1.3450)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304313 #261343
analogous
#433E13 #304313 #184313
triadic
#304313 #133043 #431330
tetradic
#304313 #13433E #261343 #431318
square
#304313 #13433E #261343 #431318
split-complementary
#304313 #131843 #3E1343
monochromatic
#111807 #111807 #304313 #527321 #74A22E

Accessibility & contrast

On white

10.84
#304313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#304313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304313
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304313#FFFFFF#000000##FFFFFF
##3043131.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0D
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#324039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #304313;
/* rgb */ color: rgb(48, 67, 19);
/* oklch */ color: oklch(35.5% 0.076 128.2);
Tailwind
colors: {
  custom: {
    50: '#6a7753',
    500: '#304313',
    950: '#000000',
  },
}
SCSS
$custom: #304313;
$custom-light: #6a7753;
$custom-dark: #000000;
JSON
{
  "hex": "#304313",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 83.75,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.355,
    "c": 0.0756,
    "h": 128.2
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#304313
secondary
#52367C
accent
#49DF84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #304313

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

Preview Lab → · Contrast checker → · Palette generator →

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