#949A2E#949A2E

#949A2E is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.1% C 0.128 H 112.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#949A2E
RGBrgb(148, 154, 46)
HSLhsl(63, 54%, 39%)
HSVhsv(63, 70%, 60%)
CMYKcmyk(3.9%, 0%, 70.1%, 39.6%)
CIE-LABlab(61.31, -16.06, 53.10)
CIE-LCHlch(61.31, 55.47, 106.83°)
OKLaboklab(66.1% -0.0492 0.1186)
OKLCHoklch(66.1% 0.128 112.5)
XYZxyz(24.2622, 29.6049, 7.0205)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A2E #342E9A
analogous
#9A6A2E #949A2E #5E9A2E
triadic
#949A2E #2E949A #9A2E94
tetradic
#949A2E #2E9A6A #342E9A #9A2E5E
square
#949A2E #2E9A6A #342E9A #9A2E5E
split-complementary
#949A2E #2E5E9A #6A2E9A
monochromatic
#393C12 #676B20 #949A2E #BEC63F #CED46F

Accessibility & contrast

On white

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

On black

6.92
#949A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A2E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A2E#FFFFFF#000000##000000
##949A2E1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#9E9185
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a2e;
/* rgb */ color: rgb(148, 154, 46);
/* oklch */ color: oklch(66.1% 0.128 112.5);
Tailwind
colors: {
  custom: {
    50: '#b6b76e',
    500: '#949a2e',
    950: '#000000',
  },
}
SCSS
$custom: #949a2e;
$custom-light: #b6b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#949a2e",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 63.333,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66096,
    "c": 0.12838,
    "h": 112.5
  },
  "luminance": 0.29604
}

Semantic roles & 50–950 ramp

primary
#949A2E
secondary
#6D69BB
accent
#4ADD53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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