#122B00#122B00

#122B00 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 25.9% C 0.075 H 134.8°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#122B00
RGBrgb(18, 43, 0)
HSLhsl(95, 100%, 8%)
HSVhsv(95, 100%, 17%)
CMYKcmyk(58.1%, 0%, 100%, 83.1%)
CIE-LABlab(14.71, -18.84, 21.08)
CIE-LCHlch(14.71, 28.27, 131.78°)
OKLaboklab(25.86% -0.053 0.0534)
OKLCHoklch(25.86% 0.075 134.8)
XYZxyz(1.1133, 1.8563, 0.2996)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B00 #19002B
analogous
#272B00 #122B00 #002B04
triadic
#122B00 #00122B #2B0012
tetradic
#122B00 #00272B #19002B #2B0400
square
#122B00 #00272B #19002B #2B0400
split-complementary
#122B00 #04002B #2B0027
monochromatic
#0D1F00 #0D1F00 #122B00 #2C6800 #45A500

Accessibility & contrast

On white

15.32
#122B00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122B00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B00
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B00#FFFFFF#000000##FFFFFF
##122B001.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2A2403
Tritanopia (blue-blind)
#112923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122b00;
/* rgb */ color: rgb(18, 43, 0);
/* oklch */ color: oklch(25.9% 0.075 134.8);
Tailwind
colors: {
  custom: {
    50: '#526446',
    500: '#122b00',
    950: '#000000',
  },
}
SCSS
$custom: #122b00;
$custom-light: #526446;
$custom-dark: #000000;
JSON
{
  "hex": "#122b00",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 0
  },
  "hsl": {
    "h": 94.884,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25855,
    "c": 0.07524,
    "h": 134.8
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#122B00
secondary
#4B1473
accent
#29FFA5
background
#F4F6F3
surface
#E7EBE5
border
#C3C6C1
text
#020500
muted
#787A77

Preview Lab

Preview with #122B00

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

Preview Lab → · Contrast checker → · Palette generator →

#122B00 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva