#334F10#334F10

#334F10 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.1% C 0.094 H 130.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#334F10
RGBrgb(51, 79, 16)
HSLhsl(87, 66%, 19%)
HSVhsv(87, 80%, 31%)
CMYKcmyk(35.4%, 0%, 79.7%, 69%)
CIE-LABlab(30.24, -21.77, 31.90)
CIE-LCHlch(30.24, 38.62, 124.31°)
OKLaboklab(39.13% -0.0617 0.0715)
OKLCHoklch(39.13% 0.094 130.8)
XYZxyz(4.2547, 6.3330, 1.4883)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F10 #2C104F
analogous
#4F4B10 #334F10 #134F10
triadic
#334F10 #10334F #4F1033
tetradic
#334F10 #104F4B #2C104F #4F1013
square
#334F10 #104F4B #2C104F #4F1013
split-complementary
#334F10 #10134F #4B104F
monochromatic
#101905 #121C06 #334F10 #54821A #75B525

Accessibility & contrast

On white

9.26
#334F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#334F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334F10
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F10#FFFFFF#000000##FFFFFF
##334F101.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534905
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#344B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334f10;
/* rgb */ color: rgb(51, 79, 16);
/* oklch */ color: oklch(39.1% 0.094 130.8);
Tailwind
colors: {
  custom: {
    50: '#6e8053',
    500: '#334f10',
    950: '#000000',
  },
}
SCSS
$custom: #334f10;
$custom-light: #6e8053;
$custom-dark: #000000;
JSON
{
  "hex": "#334f10",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 86.667,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39126,
    "c": 0.09443,
    "h": 130.8
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#334F10
secondary
#593289
accent
#3FE98A
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334F10

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

Preview Lab → · Contrast checker → · Palette generator →

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