#242B02#242B02

#242B02 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.062 H 119.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#242B02
RGBrgb(36, 43, 2)
HSLhsl(70, 91%, 9%)
HSVhsv(70, 95%, 17%)
CMYKcmyk(16.3%, 0%, 95.3%, 83.1%)
CIE-LABlab(16.04, -9.90, 22.22)
CIE-LCHlch(16.04, 24.33, 114.00°)
OKLaboklab(27.28% -0.0299 0.0538)
OKLCHoklch(27.28% 0.062 119)
XYZxyz(1.6024, 2.1072, 0.3797)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B02 #09022B
analogous
#2B1E02 #242B02 #102B02
triadic
#242B02 #02242B #2B0224
tetradic
#242B02 #022B1E #09022B #2B0210
square
#242B02 #022B1E #09022B #2B0210
split-complementary
#242B02 #02102B #1E022B
monochromatic
#181D01 #181D01 #242B02 #556505 #86A007

Accessibility & contrast

On white

14.77
#242B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#242B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B02
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B02#FFFFFF#000000##FFFFFF
##242B021.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#272823
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242b02;
/* rgb */ color: rgb(36, 43, 2);
/* oklch */ color: oklch(27.3% 0.062 119.0);
Tailwind
colors: {
  custom: {
    50: '#606448',
    500: '#242b02',
    950: '#000000',
  },
}
SCSS
$custom: #242b02;
$custom-light: #606448;
$custom-dark: #000000;
JSON
{
  "hex": "#242b02",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 70.244,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27284,
    "c": 0.06154,
    "h": 119
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#242B02
secondary
#281970
accent
#29FF4D
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #242B02

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

Preview Lab → · Contrast checker → · Palette generator →

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