#1F330F#1F330F

#1F330F is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.4% C 0.064 H 133.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1F330F
RGBrgb(31, 51, 15)
HSLhsl(93, 55%, 13%)
HSVhsv(93, 71%, 20%)
CMYKcmyk(39.2%, 0%, 70.6%, 80%)
CIE-LABlab(18.77, -15.74, 19.85)
CIE-LCHlch(18.77, 25.33, 128.42°)
OKLaboklab(29.44% -0.0438 0.0464)
OKLCHoklch(29.44% 0.064 133.4)
XYZxyz(1.8351, 2.6934, 0.8750)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F330F #230F33
analogous
#31330F #1F330F #0F3311
triadic
#1F330F #0F1F33 #330F1F
tetradic
#1F330F #0F3133 #230F33 #33110F
square
#1F330F #0F3133 #230F33 #33110F
split-complementary
#1F330F #110F33 #330F31
monochromatic
#0E1807 #0E1807 #1F330F #3C621D #58922B

Accessibility & contrast

On white

13.65
#1F330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1F330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F330F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F330F#FFFFFF#000000##FFFFFF
##1F330F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0B
Deuteranopia (green-blind)
#322D12
Tritanopia (blue-blind)
#1F312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1f330f;
/* rgb */ color: rgb(31, 51, 15);
/* oklch */ color: oklch(29.4% 0.064 133.4);
Tailwind
colors: {
  custom: {
    50: '#5c6a4f',
    500: '#1f330f',
    950: '#000000',
  },
}
SCSS
$custom: #1f330f;
$custom-light: #5c6a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f330f",
  "rgb": {
    "r": 31,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 93.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2944,
    "c": 0.06386,
    "h": 133.4
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#1F330F
secondary
#52316D
accent
#4ADE9C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1F330F

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

Preview Lab → · Contrast checker → · Palette generator →

#1F330F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva