#213F07#213F07

#213F07 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.088 H 134.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#213F07
RGBrgb(33, 63, 7)
HSLhsl(92, 80%, 14%)
HSVhsv(92, 89%, 25%)
CMYKcmyk(47.6%, 0%, 88.9%, 75.3%)
CIE-LABlab(23.32, -21.91, 28.42)
CIE-LCHlch(23.32, 35.88, 127.63°)
OKLaboklab(33.16% -0.0615 0.0632)
OKLCHoklch(33.16% 0.088 134.2)
XYZxyz(2.4430, 3.8936, 0.8238)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F07 #25073F
analogous
#3D3F07 #213F07 #073F09
triadic
#213F07 #07213F #3F0721
tetradic
#213F07 #073D3F #25073F #3F0907
square
#213F07 #073D3F #25073F #3F0907
split-complementary
#213F07 #09073F #3F073D
monochromatic
#0E1C03 #0E1C03 #213F07 #3E760D #5BAD13

Accessibility & contrast

On white

11.81
#213F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#213F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F07
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F07#FFFFFF#000000##FFFFFF
##213F071.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#213C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213f07;
/* rgb */ color: rgb(33, 63, 7);
/* oklch */ color: oklch(33.2% 0.088 134.2);
Tailwind
colors: {
  custom: {
    50: '#60744c',
    500: '#213f07',
    950: '#000000',
  },
}
SCSS
$custom: #213f07;
$custom-light: #60744c;
$custom-dark: #000000;
JSON
{
  "hex": "#213f07",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 92.143,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.08818,
    "h": 134.2
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#213F07
secondary
#54247E
accent
#31F69B
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213F07

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

Preview Lab → · Contrast checker → · Palette generator →

#213F07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva