#1F330E#1F330E

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

Color values

HEX#1F330E
RGBrgb(31, 51, 14)
HSLhsl(92, 57%, 13%)
HSVhsv(92, 73%, 20%)
CMYKcmyk(39.2%, 0%, 72.5%, 80%)
CIE-LABlab(18.76, -15.86, 20.35)
CIE-LCHlch(18.76, 25.80, 127.93°)
OKLaboklab(29.43% -0.0443 0.0475)
OKLCHoklch(29.43% 0.065 133)
XYZxyz(1.8281, 2.6906, 0.8384)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F330E #220E33
analogous
#31330E #1F330E #0E330F
triadic
#1F330E #0E1F33 #330E1F
tetradic
#1F330E #0E3133 #220E33 #330F0E
square
#1F330E #0E3133 #220E33 #330F0E
split-complementary
#1F330E #0F0E33 #330E31
monochromatic
#0F1807 #0F1807 #1F330E #3C631B #599328

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F330E#FFFFFF#000000##FFFFFF
##1F330E1.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)
#352F0A
Deuteranopia (green-blind)
#332D11
Tritanopia (blue-blind)
#1F312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1f330e;
/* rgb */ color: rgb(31, 51, 14);
/* oklch */ color: oklch(29.4% 0.065 133.0);
Tailwind
colors: {
  custom: {
    50: '#5c6a4e',
    500: '#1f330e',
    950: '#000000',
  },
}
SCSS
$custom: #1f330e;
$custom-light: #5c6a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f330e",
  "rgb": {
    "r": 31,
    "g": 51,
    "b": 14
  },
  "hsl": {
    "h": 92.432,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29426,
    "c": 0.06489,
    "h": 133
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#1F330E
secondary
#512F6E
accent
#48E09A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1F330E

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

Preview Lab → · Contrast checker → · Palette generator →

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