#949B18#949B18

#949B18 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.2% C 0.141 H 113.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#949B18
RGBrgb(148, 155, 24)
HSLhsl(63, 73%, 35%)
HSVhsv(63, 85%, 61%)
CMYKcmyk(4.5%, 0%, 84.5%, 39.2%)
CIE-LABlab(61.49, -17.52, 60.35)
CIE-LCHlch(61.49, 62.85, 106.19°)
OKLaboklab(66.2% -0.0551 0.13)
OKLCHoklch(66.2% 0.141 113)
XYZxyz(24.0998, 29.8051, 5.3474)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B18 #1F189B
analogous
#9B6018 #949B18 #539B18
triadic
#949B18 #18949B #9B1894
tetradic
#949B18 #189B60 #1F189B #9B1853
square
#949B18 #189B60 #1F189B #9B1853
split-complementary
#949B18 #18539B #60189B
monochromatic
#2F3108 #616610 #949B18 #C7D020 #DBE34A

Accessibility & contrast

On white

3.02
#949B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#949B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B18
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B18#FFFFFF#000000##000000
##949B181.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A79626
Tritanopia (blue-blind)
#9F9184
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949b18;
/* rgb */ color: rgb(148, 155, 24);
/* oklch */ color: oklch(66.2% 0.141 113.0);
Tailwind
colors: {
  custom: {
    50: '#b7b864',
    500: '#949b18',
    950: '#000000',
  },
}
SCSS
$custom: #949b18;
$custom-light: #b7b864;
$custom-dark: #000000;
JSON
{
  "hex": "#949b18",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 63.206,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.66199,
    "c": 0.14124,
    "h": 113
  },
  "luminance": 0.29805
}

Semantic roles & 50–950 ramp

primary
#949B18
secondary
#514AC5
accent
#38F042
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949B18

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

Preview Lab → · Contrast checker → · Palette generator →

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