#334C10#334C10

#334C10 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.090 H 129.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#334C10
RGBrgb(51, 76, 16)
HSLhsl(85, 65%, 18%)
HSVhsv(85, 79%, 30%)
CMYKcmyk(32.9%, 0%, 78.9%, 70.2%)
CIE-LABlab(29.18, -20.22, 30.85)
CIE-LCHlch(29.18, 36.89, 123.24°)
OKLaboklab(38.27% -0.0575 0.0693)
OKLCHoklch(38.27% 0.09 129.7)
XYZxyz(4.0432, 5.9100, 1.4178)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C10 #29104C
analogous
#4C4710 #334C10 #154C10
triadic
#334C10 #10334C #4C1033
tetradic
#334C10 #104C47 #29104C #4C1015
square
#334C10 #104C47 #29104C #4C1015
split-complementary
#334C10 #10154C #47104C
monochromatic
#111905 #111905 #334C10 #557F1B #77B125

Accessibility & contrast

On white

9.62
#334C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#334C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C10
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C10#FFFFFF#000000##FFFFFF
##334C101.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#354840
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334c10;
/* rgb */ color: rgb(51, 76, 16);
/* oklch */ color: oklch(38.3% 0.090 129.7);
Tailwind
colors: {
  custom: {
    50: '#6d7e53',
    500: '#334c10',
    950: '#000000',
  },
}
SCSS
$custom: #334c10;
$custom-light: #6d7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#334c10",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 85,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.09004,
    "h": 129.7
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#334C10
secondary
#553286
accent
#40E886
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #334C10

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

Preview Lab → · Contrast checker → · Palette generator →

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