#949A38#949A38

#949A38 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.2% C 0.121 H 112.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#949A38
RGBrgb(148, 154, 56)
HSLhsl(64, 47%, 41%)
HSVhsv(64, 64%, 60%)
CMYKcmyk(3.9%, 0%, 63.6%, 39.6%)
CIE-LABlab(61.39, -15.44, 49.03)
CIE-LCHlch(61.39, 51.40, 107.48°)
OKLaboklab(66.18% -0.0464 0.1116)
OKLCHoklch(66.18% 0.121 112.6)
XYZxyz(24.4828, 29.6931, 8.1823)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A38 #3E389A
analogous
#9A6F38 #949A38 #639A38
triadic
#949A38 #38949A #9A3894
tetradic
#949A38 #389A6F #3E389A #9A3863
square
#949A38 #389A6F #3E389A #9A3863
split-complementary
#949A38 #38639A #6F389A
monochromatic
#3E4017 #696D28 #949A38 #B8BF50 #CBD07D

Accessibility & contrast

On white

3.03
#949A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#949A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A38
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A38#FFFFFF#000000##000000
##949A381.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#A5953E
Tritanopia (blue-blind)
#9E9186
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a38;
/* rgb */ color: rgb(148, 154, 56);
/* oklch */ color: oklch(66.2% 0.121 112.6);
Tailwind
colors: {
  custom: {
    50: '#b6b773',
    500: '#949a38',
    950: '#000000',
  },
}
SCSS
$custom: #949a38;
$custom-light: #b6b773;
$custom-dark: #000000;
JSON
{
  "hex": "#949a38",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 56
  },
  "hsl": {
    "h": 63.673,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66182,
    "c": 0.12087,
    "h": 112.6
  },
  "luminance": 0.29693
}

Semantic roles & 50–950 ramp

primary
#949A38
secondary
#7975B9
accent
#51D65A
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #949A38

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

Preview Lab → · Contrast checker → · Palette generator →

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