#949225#949225

#949225 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.2% C 0.126 H 108.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#949225
RGBrgb(148, 146, 37)
HSLhsl(59, 60%, 36%)
HSVhsv(59, 75%, 58%)
CMYKcmyk(0%, 1.4%, 75%, 42%)
CIE-LABlab(58.96, -12.33, 54.18)
CIE-LCHlch(58.96, 55.57, 102.82°)
OKLaboklab(64.2% -0.0397 0.1192)
OKLCHoklch(64.2% 0.126 108.4)
XYZxyz(22.8264, 26.9880, 5.7567)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949225 #252794
analogous
#945B25 #949225 #5F9425
triadic
#949225 #259492 #922594
tetradic
#949225 #25945B #252794 #94255F
square
#949225 #25945B #252794 #94255F
split-complementary
#949225 #255F94 #5B2594
monochromatic
#32310D #636219 #949225 #C5C231 #D6D45D

Accessibility & contrast

On white

3.28
#949225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#949225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949225
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949225#FFFFFF#000000##000000
##9492251.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0E
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#9F887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #949225;
/* rgb */ color: rgb(148, 146, 37);
/* oklch */ color: oklch(64.2% 0.126 108.4);
Tailwind
colors: {
  custom: {
    50: '#b7b168',
    500: '#949225',
    950: '#000000',
  },
}
SCSS
$custom: #949225;
$custom-light: #b7b168;
$custom-dark: #000000;
JSON
{
  "hex": "#949225",
  "rgb": {
    "r": 148,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 58.919,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.642,
    "c": 0.12565,
    "h": 108.4
  },
  "luminance": 0.26987
}

Semantic roles & 50–950 ramp

primary
#949225
secondary
#595BBB
accent
#48E345
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #949225

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

Preview Lab → · Contrast checker → · Palette generator →

#949225 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva