#242E08#242E08

#242E08 is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.2% C 0.059 H 123.0°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#242E08
RGBrgb(36, 46, 8)
HSLhsl(76, 70%, 11%)
HSVhsv(76, 83%, 18%)
CMYKcmyk(21.7%, 0%, 82.6%, 82%)
CIE-LABlab(17.21, -11.16, 21.23)
CIE-LCHlch(17.21, 23.98, 117.73°)
OKLaboklab(28.25% -0.0324 0.0499)
OKLCHoklch(28.25% 0.059 123)
XYZxyz(1.7484, 2.3466, 0.5905)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E08 #12082E
analogous
#2E2508 #242E08 #112E08
triadic
#242E08 #08242E #2E0824
tetradic
#242E08 #082E25 #12082E #2E0811
square
#242E08 #082E25 #12082E #2E0811
split-complementary
#242E08 #08112E #25082E
monochromatic
#141A05 #141A05 #242E08 #4D6211 #76961A

Accessibility & contrast

On white

14.29
#242E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#242E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E08
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E08#FFFFFF#000000##FFFFFF
##242E081.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B04
Deuteranopia (green-blind)
#302A0B
Tritanopia (blue-blind)
#262B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242e08;
/* rgb */ color: rgb(36, 46, 8);
/* oklch */ color: oklch(28.2% 0.059 123.0);
Tailwind
colors: {
  custom: {
    50: '#60664b',
    500: '#242e08',
    950: '#000000',
  },
}
SCSS
$custom: #242e08;
$custom-light: #60664b;
$custom-dark: #000000;
JSON
{
  "hex": "#242e08",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 75.789,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28248,
    "c": 0.05949,
    "h": 123
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#242E08
secondary
#38256D
accent
#3BED6A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #242E08

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

Preview Lab → · Contrast checker → · Palette generator →

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