#334E03#334E03

#334E03 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.101 H 129.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#334E03
RGBrgb(51, 78, 3)
HSLhsl(82, 93%, 16%)
HSVhsv(82, 96%, 31%)
CMYKcmyk(34.6%, 0%, 96.2%, 69.4%)
CIE-LABlab(29.81, -22.02, 36.30)
CIE-LCHlch(29.81, 42.45, 121.24°)
OKLaboklab(38.75% -0.0634 0.0782)
OKLCHoklch(38.75% 0.101 129.1)
XYZxyz(4.1061, 6.1590, 1.0586)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E03 #1E034E
analogous
#4E4303 #334E03 #0D4E03
triadic
#334E03 #03334E #4E0333
tetradic
#334E03 #034E43 #1E034E #4E030D
square
#334E03 #034E43 #1E034E #4E030D
split-complementary
#334E03 #030D4E #43034E
monochromatic
#131D01 #131D01 #334E03 #5A8905 #80C408

Accessibility & contrast

On white

9.41
#334E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#334E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334E03
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334E03#FFFFFF#000000##FFFFFF
##334E031.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4F460C
Tritanopia (blue-blind)
#354A41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334e03;
/* rgb */ color: rgb(51, 78, 3);
/* oklch */ color: oklch(38.8% 0.101 129.1);
Tailwind
colors: {
  custom: {
    50: '#6e7f4d',
    500: '#334e03',
    950: '#000000',
  },
}
SCSS
$custom: #334e03;
$custom-light: #6e7f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#334e03",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 81.6,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.10068,
    "h": 129.1
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#334E03
secondary
#471E8E
accent
#29FF76
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #334E03

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

Preview Lab → · Contrast checker → · Palette generator →

#334E03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva