#949F2C#949F2C

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

Color values

HEX#949F2C
RGBrgb(148, 159, 44)
HSLhsl(66, 57%, 40%)
HSVhsv(66, 72%, 62%)
CMYKcmyk(6.9%, 0%, 72.3%, 37.6%)
CIE-LABlab(62.74, -18.75, 55.26)
CIE-LCHlch(62.74, 58.36, 108.74°)
OKLaboklab(67.24% -0.0569 0.1228)
OKLCHoklch(67.24% 0.135 114.9)
XYZxyz(25.0662, 31.2745, 7.0985)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F2C #372C9F
analogous
#9F702C #949F2C #5B9F2C
triadic
#949F2C #2C949F #9F2C94
tetradic
#949F2C #2C9F70 #372C9F #9F2C5B
square
#949F2C #2C9F70 #372C9F #9F2C5B
split-complementary
#949F2C #2C5B9F #702C9F
monochromatic
#3B3F11 #676F1F #949F2C #BCCA3E #CDD76E

Accessibility & contrast

On white

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

On black

7.25
#949F2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F2C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F2C#FFFFFF#000000##000000
##949F2C1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #949f2c;
/* rgb */ color: rgb(148, 159, 44);
/* oklch */ color: oklch(67.2% 0.135 114.9);
Tailwind
colors: {
  custom: {
    50: '#b7bb6d',
    500: '#949f2c',
    950: '#000000',
  },
}
SCSS
$custom: #949f2c;
$custom-light: #b7bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#949f2c",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 65.739,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67235,
    "c": 0.13533,
    "h": 114.9
  },
  "luminance": 0.31274
}

Semantic roles & 50–950 ramp

primary
#949F2C
secondary
#7169BE
accent
#48E056
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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