#122F03#122F03

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

Color values

HEX#122F03
RGBrgb(18, 47, 3)
HSLhsl(100, 88%, 10%)
HSVhsv(100, 94%, 18%)
CMYKcmyk(61.7%, 0%, 93.6%, 81.6%)
CIE-LABlab(16.35, -20.39, 21.93)
CIE-LCHlch(16.35, 29.95, 132.91°)
OKLaboklab(27.21% -0.0567 0.0529)
OKLCHoklch(27.21% 0.078 137)
XYZxyz(1.2824, 2.1681, 0.4370)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F03 #20032F
analogous
#282F03 #122F03 #032F0A
triadic
#122F03 #03122F #2F0312
tetradic
#122F03 #03282F #20032F #2F0A03
square
#122F03 #03282F #20032F #2F0A03
split-complementary
#122F03 #0A032F #2F0328
monochromatic
#0B1D02 #0B1D02 #122F03 #286907 #3EA20A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122F03#FFFFFF#000000##FFFFFF
##122F031.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)
#2D2807
Tritanopia (blue-blind)
#102D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122f03;
/* rgb */ color: rgb(18, 47, 3);
/* oklch */ color: oklch(27.2% 0.078 137.0);
Tailwind
colors: {
  custom: {
    50: '#536848',
    500: '#122f03',
    950: '#000000',
  },
}
SCSS
$custom: #122f03;
$custom-light: #536848;
$custom-dark: #000000;
JSON
{
  "hex": "#122f03",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 99.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27209,
    "c": 0.07751,
    "h": 137
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#122F03
secondary
#551B73
accent
#2AFEB6
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #122F03

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

Preview Lab → · Contrast checker → · Palette generator →

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