#122B02#122B02

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

Color values

HEX#122B02
RGBrgb(18, 43, 2)
HSLhsl(97, 91%, 9%)
HSVhsv(97, 95%, 17%)
CMYKcmyk(58.1%, 0%, 95.3%, 83.1%)
CIE-LABlab(14.74, -18.57, 20.30)
CIE-LCHlch(14.74, 27.51, 132.45°)
OKLaboklab(25.88% -0.052 0.051)
OKLCHoklch(25.88% 0.073 135.6)
XYZxyz(1.1243, 1.8607, 0.3573)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B02 #1B022B
analogous
#272B02 #122B02 #022B07
triadic
#122B02 #02122B #2B0212
tetradic
#122B02 #02272B #1B022B #2B0702
square
#122B02 #02272B #1B022B #2B0702
split-complementary
#122B02 #07022B #2B0227
monochromatic
#0C1D01 #0C1D01 #122B02 #2A6505 #43A007

Accessibility & contrast

On white

15.30
#122B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B02
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B02#FFFFFF#000000##FFFFFF
##122B021.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b02;
/* rgb */ color: rgb(18, 43, 2);
/* oklch */ color: oklch(25.9% 0.073 135.6);
Tailwind
colors: {
  custom: {
    50: '#526447',
    500: '#122b02',
    950: '#000000',
  },
}
SCSS
$custom: #122b02;
$custom-light: #526447;
$custom-dark: #000000;
JSON
{
  "hex": "#122b02",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 96.585,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25883,
    "c": 0.07278,
    "h": 135.6
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#122B02
secondary
#4E1970
accent
#29FFAB
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #122B02

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

Preview Lab → · Contrast checker → · Palette generator →

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