#334103#334103

#334103 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.083 H 122.6°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#334103
RGBrgb(51, 65, 3)
HSLhsl(74, 91%, 13%)
HSVhsv(74, 95%, 25%)
CMYKcmyk(21.5%, 0%, 95.4%, 74.5%)
CIE-LABlab(25.23, -15.07, 32.34)
CIE-LCHlch(25.23, 35.68, 114.99°)
OKLaboklab(35.03% -0.0447 0.07)
OKLCHoklch(35.03% 0.083 122.6)
XYZxyz(3.2720, 4.4910, 0.7806)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334103 #110341
analogous
#413003 #334103 #144103
triadic
#334103 #033341 #410333
tetradic
#334103 #034130 #110341 #410314
square
#334103 #034130 #110341 #410314
split-complementary
#334103 #031441 #300341
monochromatic
#171D01 #171D01 #334103 #617B06 #8FB608

Accessibility & contrast

On white

11.06
#334103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#334103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334103
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334103#FFFFFF#000000##FFFFFF
##3341031.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#443C09
Tritanopia (blue-blind)
#363D36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #334103;
/* rgb */ color: rgb(51, 65, 3);
/* oklch */ color: oklch(35.0% 0.083 122.6);
Tailwind
colors: {
  custom: {
    50: '#6d754a',
    500: '#334103',
    950: '#000000',
  },
}
SCSS
$custom: #334103;
$custom-light: #6d754a;
$custom-dark: #000000;
JSON
{
  "hex": "#334103",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 3
  },
  "hsl": {
    "h": 73.548,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.35035,
    "c": 0.08307,
    "h": 122.6
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#334103
secondary
#341D83
accent
#29FF59
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #334103

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

Preview Lab → · Contrast checker → · Palette generator →

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