#948E30#948E30

#948E30 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.114 H 105.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#948E30
RGBrgb(148, 142, 48)
HSLhsl(56, 51%, 38%)
HSVhsv(56, 68%, 58%)
CMYKcmyk(0%, 4.1%, 67.6%, 42%)
CIE-LABlab(57.90, -9.60, 48.83)
CIE-LCHlch(57.90, 49.76, 101.12°)
OKLaboklab(63.38% -0.0308 0.1099)
OKLCHoklch(63.38% 0.114 105.7)
XYZxyz(22.4201, 25.8561, 6.6055)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E30 #303694
analogous
#945C30 #948E30 #689430
triadic
#948E30 #30948E #8E3094
tetradic
#948E30 #30945C #303694 #943068
square
#948E30 #30945C #303694 #943068
split-complementary
#948E30 #306894 #5C3094
monochromatic
#383512 #666221 #948E30 #C1B940 #D0CA6E

Accessibility & contrast

On white

3.40
#948E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#948E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E30
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E30#FFFFFF#000000##000000
##948E301.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#9F857B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e30;
/* rgb */ color: rgb(148, 142, 48);
/* oklch */ color: oklch(63.4% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#b6ae6e',
    500: '#948e30',
    950: '#000000',
  },
}
SCSS
$custom: #948e30;
$custom-light: #b6ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#948e30",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 56.4,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63377,
    "c": 0.11416,
    "h": 105.7
  },
  "luminance": 0.25855
}

Semantic roles & 50–950 ramp

primary
#948E30
secondary
#686DB8
accent
#56DA4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948E30

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

Preview Lab → · Contrast checker → · Palette generator →

#948E30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva