#242F01#242F01

#242F01 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.068 H 122.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#242F01
RGBrgb(36, 47, 1)
HSLhsl(74, 96%, 9%)
HSVhsv(74, 98%, 18%)
CMYKcmyk(23.4%, 0%, 97.9%, 81.6%)
CIE-LABlab(17.51, -12.41, 24.44)
CIE-LCHlch(17.51, 27.41, 116.92°)
OKLaboklab(28.47% -0.0369 0.0575)
OKLCHoklch(28.47% 0.068 122.7)
XYZxyz(1.7496, 2.4103, 0.4018)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F01 #0C012F
analogous
#2F2301 #242F01 #0D2F01
triadic
#242F01 #01242F #2F0124
tetradic
#242F01 #012F23 #0C012F #2F010D
square
#242F01 #012F23 #0C012F #2F010D
split-complementary
#242F01 #010D2F #23012F
monochromatic
#171E01 #171E01 #242F01 #526B02 #80A704

Accessibility & contrast

On white

14.17
#242F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#242F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F01
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F01#FFFFFF#000000##FFFFFF
##242F011.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332B00
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#272C26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242f01;
/* rgb */ color: rgb(36, 47, 1);
/* oklch */ color: oklch(28.5% 0.068 122.7);
Tailwind
colors: {
  custom: {
    50: '#606747',
    500: '#242f01',
    950: '#000000',
  },
}
SCSS
$custom: #242f01;
$custom-light: #606747;
$custom-dark: #000000;
JSON
{
  "hex": "#242f01",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 1
  },
  "hsl": {
    "h": 74.348,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28466,
    "c": 0.06832,
    "h": 122.7
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#242F01
secondary
#2D1775
accent
#29FF5C
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #242F01

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

Preview Lab → · Contrast checker → · Palette generator →

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