#304114#304114

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

Color values

HEX#304114
RGBrgb(48, 65, 20)
HSLhsl(83, 53%, 17%)
HSVhsv(83, 69%, 25%)
CMYKcmyk(26.2%, 0%, 69.2%, 74.5%)
CIE-LABlab(25.14, -15.26, 24.61)
CIE-LCHlch(25.14, 28.96, 121.81°)
OKLaboklab(34.94% -0.0432 0.0569)
OKLCHoklch(34.94% 0.071 127.3)
XYZxyz(3.2355, 4.4594, 1.3520)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304114 #251441
analogous
#413C14 #304114 #1A4114
triadic
#304114 #143041 #411430
tetradic
#304114 #14413C #251441 #41141A
square
#304114 #14413C #251441 #41141A
split-complementary
#304114 #141A41 #3C1441
monochromatic
#111707 #111707 #304114 #537022 #759F31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##304114#FFFFFF#000000##FFFFFF
##3041141.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)
#453C0F
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#323E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #304114;
/* rgb */ color: rgb(48, 65, 20);
/* oklch */ color: oklch(34.9% 0.071 127.3);
Tailwind
colors: {
  custom: {
    50: '#6a7554',
    500: '#304114',
    950: '#000000',
  },
}
SCSS
$custom: #304114;
$custom-light: #6a7554;
$custom-dark: #000000;
JSON
{
  "hex": "#304114",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 20
  },
  "hsl": {
    "h": 82.667,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3494,
    "c": 0.07145,
    "h": 127.3
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#304114
secondary
#503879
accent
#4BDC82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #304114

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

Preview Lab → · Contrast checker → · Palette generator →

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