#122F02#122F02

#122F02 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.2% C 0.079 H 136.7°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#122F02
RGBrgb(18, 47, 2)
HSLhsl(99, 92%, 10%)
HSVhsv(99, 96%, 18%)
CMYKcmyk(61.7%, 0%, 95.7%, 81.6%)
CIE-LABlab(16.33, -20.51, 22.32)
CIE-LCHlch(16.33, 30.32, 132.58°)
OKLaboklab(27.2% -0.0571 0.0539)
OKLCHoklch(27.2% 0.079 136.7)
XYZxyz(1.2769, 2.1659, 0.4082)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F02 #1F022F
analogous
#292F02 #122F02 #022F09
triadic
#122F02 #02122F #2F0212
tetradic
#122F02 #02292F #1F022F #2F0902
square
#122F02 #02292F #1F022F #2F0902
split-complementary
#122F02 #09022F #2F0229
monochromatic
#0B1D01 #0B1D01 #122F02 #286A04 #3FA407

Accessibility & contrast

On white

14.65
#122F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F02
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F02#FFFFFF#000000##FFFFFF
##122F021.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2D2806
Tritanopia (blue-blind)
#102D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122f02;
/* rgb */ color: rgb(18, 47, 2);
/* oklch */ color: oklch(27.2% 0.079 136.7);
Tailwind
colors: {
  custom: {
    50: '#536848',
    500: '#122f02',
    950: '#000000',
  },
}
SCSS
$custom: #122f02;
$custom-light: #536848;
$custom-dark: #000000;
JSON
{
  "hex": "#122f02",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 98.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27197,
    "c": 0.07858,
    "h": 136.7
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#122F02
secondary
#531974
accent
#29FFB3
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #122F02

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

Preview Lab → · Contrast checker → · Palette generator →

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