#948E23#948E23

#948E23 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.123 H 106.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#948E23
RGBrgb(148, 142, 35)
HSLhsl(57, 62%, 36%)
HSVhsv(57, 76%, 58%)
CMYKcmyk(0%, 4.1%, 76.4%, 42%)
CIE-LABlab(57.81, -10.28, 53.81)
CIE-LCHlch(57.81, 54.78, 100.82°)
OKLaboklab(63.28% -0.0341 0.1181)
OKLCHoklch(63.28% 0.123 106.1)
XYZxyz(22.1900, 25.7641, 5.3939)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E23 #232994
analogous
#945523 #948E23 #619423
triadic
#948E23 #23948E #8E2394
tetradic
#948E23 #239455 #232994 #942361
square
#948E23 #239455 #232994 #942361
split-complementary
#948E23 #236194 #552394
monochromatic
#312F0C #635F17 #948E23 #C5BD2F #D8D15A

Accessibility & contrast

On white

3.41
#948E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#948E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E23
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E23#FFFFFF#000000##000000
##948E231.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890C
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e23;
/* rgb */ color: rgb(148, 142, 35);
/* oklch */ color: oklch(63.3% 0.123 106.1);
Tailwind
colors: {
  custom: {
    50: '#b7ae67',
    500: '#948e23',
    950: '#000000',
  },
}
SCSS
$custom: #948e23;
$custom-light: #b7ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#948e23",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 56.814,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.12289,
    "h": 106.1
  },
  "luminance": 0.25763
}

Semantic roles & 50–950 ramp

primary
#948E23
secondary
#575CBC
accent
#4CE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948E23

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

Preview Lab → · Contrast checker → · Palette generator →

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