#949F2E#949F2E

#949F2E is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.2% C 0.134 H 114.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#949F2E
RGBrgb(148, 159, 46)
HSLhsl(66, 55%, 40%)
HSVhsv(66, 71%, 62%)
CMYKcmyk(6.9%, 0%, 71.1%, 37.6%)
CIE-LABlab(62.75, -18.64, 54.52)
CIE-LCHlch(62.75, 57.62, 108.87°)
OKLaboklab(67.25% -0.0564 0.1216)
OKLCHoklch(67.25% 0.134 114.9)
XYZxyz(25.1047, 31.2899, 7.3013)
Luminance0.3129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F2E #392E9F
analogous
#9F722E #949F2E #5B9F2E
triadic
#949F2E #2E949F #9F2E94
tetradic
#949F2E #2E9F72 #392E9F #9F2E5B
square
#949F2E #2E9F72 #392E9F #9F2E5B
split-complementary
#949F2E #2E5B9F #722E9F
monochromatic
#3C4013 #687020 #949F2E #BBC842 #CCD671

Accessibility & contrast

On white

2.89
#949F2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#949F2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F2E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F2E#FFFFFF#000000##000000
##949F2E1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971B
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#9E9689
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f2e;
/* rgb */ color: rgb(148, 159, 46);
/* oklch */ color: oklch(67.2% 0.134 114.9);
Tailwind
colors: {
  custom: {
    50: '#b6bb6e',
    500: '#949f2e',
    950: '#000000',
  },
}
SCSS
$custom: #949f2e;
$custom-light: #b6bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#949f2e",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 65.841,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67249,
    "c": 0.13403,
    "h": 114.9
  },
  "luminance": 0.31289
}

Semantic roles & 50–950 ramp

primary
#949F2E
secondary
#736BBE
accent
#49DE58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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