#314207#314207

#314207 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.083 H 125.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#314207
RGBrgb(49, 66, 7)
HSLhsl(77, 81%, 14%)
HSVhsv(77, 89%, 26%)
CMYKcmyk(25.8%, 0%, 89.4%, 74.1%)
CIE-LABlab(25.46, -16.35, 30.86)
CIE-LCHlch(25.46, 34.93, 117.91°)
OKLaboklab(35.19% -0.0476 0.0677)
OKLCHoklch(35.19% 0.083 125.1)
XYZxyz(3.2532, 4.5647, 0.9107)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314207 #180742
analogous
#423607 #314207 #144207
triadic
#314207 #073142 #420731
tetradic
#314207 #074236 #180742 #420714
square
#314207 #074236 #180742 #420714
split-complementary
#314207 #071442 #360742
monochromatic
#151C03 #151C03 #314207 #5A790D #83B113

Accessibility & contrast

On white

10.98
#314207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#314207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314207
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314207#FFFFFF#000000##FFFFFF
##3142071.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#443C0D
Tritanopia (blue-blind)
#343E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #314207;
/* rgb */ color: rgb(49, 66, 7);
/* oklch */ color: oklch(35.2% 0.083 125.1);
Tailwind
colors: {
  custom: {
    50: '#6c764d',
    500: '#314207',
    950: '#000000',
  },
}
SCSS
$custom: #314207;
$custom-light: #6c764d;
$custom-dark: #000000;
JSON
{
  "hex": "#314207",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 77.288,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.08277,
    "h": 125.1
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#314207
secondary
#3F2481
accent
#31F76A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314207

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

Preview Lab → · Contrast checker → · Palette generator →

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