#314308#314308

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

Color values

HEX#314308
RGBrgb(49, 67, 8)
HSLhsl(78, 79%, 15%)
HSVhsv(78, 88%, 26%)
CMYKcmyk(26.9%, 0%, 88.1%, 73.7%)
CIE-LABlab(25.82, -16.84, 30.79)
CIE-LCHlch(25.82, 35.10, 118.67°)
OKLaboklab(35.48% -0.0489 0.0677)
OKLCHoklch(35.48% 0.084 125.8)
XYZxyz(3.3176, 4.6848, 0.9591)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314308 #1A0843
analogous
#433808 #314308 #144308
triadic
#314308 #083143 #430831
tetradic
#314308 #084338 #1A0843 #430814
square
#314308 #084338 #1A0843 #430814
split-complementary
#314308 #081443 #380843
monochromatic
#141B03 #141B03 #314308 #597A0F #81B015

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314308#FFFFFF#000000##FFFFFF
##3143081.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)
#473E00
Deuteranopia (green-blind)
#453D0E
Tritanopia (blue-blind)
#343F38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #314308;
/* rgb */ color: rgb(49, 67, 8);
/* oklch */ color: oklch(35.5% 0.084 125.8);
Tailwind
colors: {
  custom: {
    50: '#6c774d',
    500: '#314308',
    950: '#000000',
  },
}
SCSS
$custom: #314308;
$custom-light: #6c774d;
$custom-dark: #000000;
JSON
{
  "hex": "#314308",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 78.305,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35479,
    "c": 0.08352,
    "h": 125.8
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#314308
secondary
#412581
accent
#33F56E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314308

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

Preview Lab → · Contrast checker → · Palette generator →

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