#949F18#949F18

#949F18 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.1% C 0.145 H 114.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#949F18
RGBrgb(148, 159, 24)
HSLhsl(65, 74%, 36%)
HSVhsv(65, 85%, 62%)
CMYKcmyk(6.9%, 0%, 84.9%, 37.6%)
CIE-LABlab(62.64, -19.57, 61.33)
CIE-LCHlch(62.64, 64.38, 107.70°)
OKLaboklab(67.13% -0.0608 0.1322)
OKLCHoklch(67.13% 0.145 114.7)
XYZxyz(24.7765, 31.1586, 5.5730)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F18 #23189F
analogous
#9F6618 #949F18 #509F18
triadic
#949F18 #18949F #9F1894
tetradic
#949F18 #189F66 #23189F #9F1850
square
#949F18 #189F66 #23189F #9F1850
split-complementary
#949F18 #18509F #66189F
monochromatic
#313508 #636A10 #949F18 #C5D420 #D8E44D

Accessibility & contrast

On white

2.90
#949F18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#949F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F18
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F18#FFFFFF#000000##000000
##949F181.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB9927
Tritanopia (blue-blind)
#9E9587
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949f18;
/* rgb */ color: rgb(148, 159, 24);
/* oklch */ color: oklch(67.1% 0.145 114.7);
Tailwind
colors: {
  custom: {
    50: '#b7bb65',
    500: '#949f18',
    950: '#000000',
  },
}
SCSS
$custom: #949f18;
$custom-light: #b7bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#949f18",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 64.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67126,
    "c": 0.14545,
    "h": 114.7
  },
  "luminance": 0.31158
}

Semantic roles & 50–950 ramp

primary
#949F18
secondary
#574DC6
accent
#37F046
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949F18

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

Preview Lab → · Contrast checker → · Palette generator →

#949F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva