#242A08#242A08

#242A08 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 27.1% C 0.053 H 118.7°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#242A08
RGBrgb(36, 42, 8)
HSLhsl(71, 68%, 10%)
HSVhsv(71, 81%, 16%)
CMYKcmyk(14.3%, 0%, 81%, 83.5%)
CIE-LABlab(15.74, -8.68, 19.40)
CIE-LCHlch(15.74, 21.26, 114.11°)
OKLaboklab(27.06% -0.0255 0.0467)
OKLCHoklch(27.06% 0.053 118.7)
XYZxyz(1.5994, 2.0485, 0.5408)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A08 #0E082A
analogous
#2A1F08 #242A08 #132A08
triadic
#242A08 #08242A #2A0824
tetradic
#242A08 #082A1F #0E082A #2A0813
square
#242A08 #082A1F #0E082A #2A0813
split-complementary
#242A08 #08132A #1F082A
monochromatic
#161A05 #161A05 #242A08 #505D12 #7C911C

Accessibility & contrast

On white

14.90
#242A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#242A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A08
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A08#FFFFFF#000000##FFFFFF
##242A081.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2705
Deuteranopia (green-blind)
#2D270A
Tritanopia (blue-blind)
#272723
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #242a08;
/* rgb */ color: rgb(36, 42, 8);
/* oklch */ color: oklch(27.1% 0.053 118.7);
Tailwind
colors: {
  custom: {
    50: '#5f634a',
    500: '#242a08',
    950: '#000000',
  },
}
SCSS
$custom: #242a08;
$custom-light: #5f634a;
$custom-dark: #000000;
JSON
{
  "hex": "#242a08",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 70.588,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27064,
    "c": 0.05322,
    "h": 118.7
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#242A08
secondary
#312569
accent
#3DEB5C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #242A08

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

Preview Lab → · Contrast checker → · Palette generator →

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