#23340F#23340F

#23340F is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.063 H 130.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#23340F
RGBrgb(35, 52, 15)
HSLhsl(88, 55%, 13%)
HSVhsv(88, 71%, 20%)
CMYKcmyk(32.7%, 0%, 71.2%, 79.6%)
CIE-LABlab(19.42, -14.48, 20.68)
CIE-LCHlch(19.42, 25.24, 125.01°)
OKLaboklab(30.04% -0.0407 0.0481)
OKLCHoklch(30.04% 0.063 130.2)
XYZxyz(2.0073, 2.8477, 0.8958)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23340F #200F34
analogous
#34320F #23340F #10340F
triadic
#23340F #0F2334 #340F23
tetradic
#23340F #0F3432 #200F34 #340F10
square
#23340F #0F3432 #200F34 #340F10
split-complementary
#23340F #0F1034 #320F34
monochromatic
#101807 #101807 #23340F #43631D #63932A

Accessibility & contrast

On white

13.38
#23340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23340F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23340F#FFFFFF#000000##FFFFFF
##23340F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#342F12
Tritanopia (blue-blind)
#24322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23340f;
/* rgb */ color: rgb(35, 52, 15);
/* oklch */ color: oklch(30.0% 0.063 130.2);
Tailwind
colors: {
  custom: {
    50: '#5f6b4f',
    500: '#23340f',
    950: '#000000',
  },
}
SCSS
$custom: #23340f;
$custom-light: #5f6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#23340f",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 87.568,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30043,
    "c": 0.06297,
    "h": 130.2
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#23340F
secondary
#4D316E
accent
#49DF8E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #23340F

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

Preview Lab → · Contrast checker → · Palette generator →

#23340F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva