#123002#123002

#123002 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.080 H 136.9°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#123002
RGBrgb(18, 48, 2)
HSLhsl(99, 92%, 10%)
HSVhsv(99, 96%, 19%)
CMYKcmyk(62.5%, 0%, 95.8%, 81.2%)
CIE-LABlab(16.73, -20.99, 22.82)
CIE-LCHlch(16.73, 31.00, 132.61°)
OKLaboklab(27.52% -0.0584 0.0547)
OKLCHoklch(27.52% 0.08 136.9)
XYZxyz(1.3173, 2.2468, 0.4217)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123002 #200230
analogous
#293002 #123002 #023009
triadic
#123002 #021230 #300212
tetradic
#123002 #022930 #200230 #300902
square
#123002 #022930 #200230 #300902
split-complementary
#123002 #090230 #300229
monochromatic
#0B1D01 #0B1D01 #123002 #286B04 #3EA607

Accessibility & contrast

On white

14.49
#123002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#123002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123002
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123002#FFFFFF#000000##FFFFFF
##1230021.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#102E27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #123002;
/* rgb */ color: rgb(18, 48, 2);
/* oklch */ color: oklch(27.5% 0.080 136.9);
Tailwind
colors: {
  custom: {
    50: '#536848',
    500: '#123002',
    950: '#000000',
  },
}
SCSS
$custom: #123002;
$custom-light: #536848;
$custom-dark: #000000;
JSON
{
  "hex": "#123002",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 99.13,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27524,
    "c": 0.08,
    "h": 136.9
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#123002
secondary
#551975
accent
#29FFB4
background
#F4F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #123002

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

Preview Lab → · Contrast checker → · Palette generator →

#123002 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva