#949F2F#949F2F

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

Color values

HEX#949F2F
RGBrgb(148, 159, 47)
HSLhsl(66, 54%, 40%)
HSVhsv(66, 70%, 62%)
CMYKcmyk(6.9%, 0%, 70.4%, 37.6%)
CIE-LABlab(62.76, -18.58, 54.15)
CIE-LCHlch(62.76, 57.25, 108.94°)
OKLaboklab(67.26% -0.0562 0.121)
OKLCHoklch(67.26% 0.133 114.9)
XYZxyz(25.1246, 31.2978, 7.4063)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F2F #3A2F9F
analogous
#9F722F #949F2F #5C9F2F
triadic
#949F2F #2F949F #9F2F94
tetradic
#949F2F #2F9F72 #3A2F9F #9F2F5C
square
#949F2F #2F9F72 #3A2F9F #9F2F5C
split-complementary
#949F2F #2F5C9F #722F9F
monochromatic
#3C4113 #687021 #949F2F #BBC844 #CCD673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949F2F#FFFFFF#000000##000000
##949F2F1.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)
#AA971D
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#9E9689
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f2f;
/* rgb */ color: rgb(148, 159, 47);
/* oklch */ color: oklch(67.3% 0.133 114.9);
Tailwind
colors: {
  custom: {
    50: '#b6bb6f',
    500: '#949f2f',
    950: '#000000',
  },
}
SCSS
$custom: #949f2f;
$custom-light: #b6bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#949f2f",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 65.893,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67257,
    "c": 0.13336,
    "h": 114.9
  },
  "luminance": 0.31297
}

Semantic roles & 50–950 ramp

primary
#949F2F
secondary
#746DBD
accent
#4ADE59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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