#242C02#242C02

#242C02 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.063 H 120.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#242C02
RGBrgb(36, 44, 2)
HSLhsl(71, 91%, 9%)
HSVhsv(71, 95%, 17%)
CMYKcmyk(18.2%, 0%, 95.5%, 82.7%)
CIE-LABlab(16.41, -10.51, 22.68)
CIE-LCHlch(16.41, 25.00, 114.86°)
OKLaboklab(27.58% -0.0315 0.0545)
OKLCHoklch(27.58% 0.063 120.1)
XYZxyz(1.6392, 2.1808, 0.3920)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C02 #0A022C
analogous
#2C1F02 #242C02 #0F2C02
triadic
#242C02 #02242C #2C0224
tetradic
#242C02 #022C1F #0A022C #2C020F
square
#242C02 #022C1F #0A022C #2C020F
split-complementary
#242C02 #020F2C #1F022C
monochromatic
#181D01 #181D01 #242C02 #546705 #84A107

Accessibility & contrast

On white

14.62
#242C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#242C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C02
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C02#FFFFFF#000000##FFFFFF
##242C021.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#272924
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #242c02;
/* rgb */ color: rgb(36, 44, 2);
/* oklch */ color: oklch(27.6% 0.063 120.1);
Tailwind
colors: {
  custom: {
    50: '#606548',
    500: '#242c02',
    950: '#000000',
  },
}
SCSS
$custom: #242c02;
$custom-light: #606548;
$custom-dark: #000000;
JSON
{
  "hex": "#242c02",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 71.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27581,
    "c": 0.06295,
    "h": 120.1
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#242C02
secondary
#2A1971
accent
#29FF52
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #242C02

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

Preview Lab → · Contrast checker → · Palette generator →

#242C02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva