#242E06#242E06

#242E06 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.2% C 0.062 H 122.6°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#242E06
RGBrgb(36, 46, 6)
HSLhsl(75, 77%, 10%)
HSVhsv(75, 87%, 18%)
CMYKcmyk(21.7%, 0%, 87%, 82%)
CIE-LABlab(17.19, -11.35, 22.02)
CIE-LCHlch(17.19, 24.77, 117.26°)
OKLaboklab(28.23% -0.0332 0.0518)
OKLCHoklch(28.23% 0.062 122.6)
XYZxyz(1.7374, 2.3422, 0.5328)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E06 #10062E
analogous
#2E2406 #242E06 #102E06
triadic
#242E06 #06242E #2E0624
tetradic
#242E06 #062E24 #10062E #2E0610
square
#242E06 #062E24 #10062E #2E0610
split-complementary
#242E06 #06102E #24062E
monochromatic
#151B04 #151B04 #242E06 #4E640D #799A14

Accessibility & contrast

On white

14.30
#242E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E06
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E06#FFFFFF#000000##FFFFFF
##242E061.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242e06;
/* rgb */ color: rgb(36, 46, 6);
/* oklch */ color: oklch(28.2% 0.062 122.6);
Tailwind
colors: {
  custom: {
    50: '#60664a',
    500: '#242e06',
    950: '#000000',
  },
}
SCSS
$custom: #242e06;
$custom-light: #60664a;
$custom-dark: #000000;
JSON
{
  "hex": "#242e06",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 75,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28225,
    "c": 0.06153,
    "h": 122.6
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#242E06
secondary
#35216F
accent
#34F364
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #242E06

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

Preview Lab → · Contrast checker → · Palette generator →

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