#123102#123102

#123102 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.081 H 137.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#123102
RGBrgb(18, 49, 2)
HSLhsl(100, 92%, 10%)
HSVhsv(100, 96%, 19%)
CMYKcmyk(63.3%, 0%, 95.9%, 80.8%)
CIE-LABlab(17.13, -21.45, 23.30)
CIE-LCHlch(17.13, 31.67, 132.63°)
OKLaboklab(27.85% -0.0597 0.0554)
OKLCHoklch(27.85% 0.081 137.1)
XYZxyz(1.3587, 2.3295, 0.4355)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123102 #210231
analogous
#2A3102 #123102 #023109
triadic
#123102 #021231 #310212
tetradic
#123102 #022A31 #210231 #310902
square
#123102 #022A31 #210231 #310902
split-complementary
#123102 #090231 #31022A
monochromatic
#0B1D01 #0B1D01 #123102 #286C04 #3DA707

Accessibility & contrast

On white

14.32
#123102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#123102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123102
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123102#FFFFFF#000000##FFFFFF
##1231021.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#2F2906
Tritanopia (blue-blind)
#102F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #123102;
/* rgb */ color: rgb(18, 49, 2);
/* oklch */ color: oklch(27.9% 0.081 137.1);
Tailwind
colors: {
  custom: {
    50: '#546948',
    500: '#123102',
    950: '#000000',
  },
}
SCSS
$custom: #123102;
$custom-light: #546948;
$custom-dark: #000000;
JSON
{
  "hex": "#123102",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 99.574,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27852,
    "c": 0.08142,
    "h": 137.1
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#123102
secondary
#561975
accent
#29FFB6
background
#F5F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #123102

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

Preview Lab → · Contrast checker → · Palette generator →

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