#848B18#848B18

#848B18 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.1% C 0.129 H 113.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#848B18
RGBrgb(132, 139, 24)
HSLhsl(64, 71%, 32%)
HSVhsv(64, 83%, 55%)
CMYKcmyk(5%, 0%, 82.7%, 45.5%)
CIE-LABlab(55.52, -16.36, 54.72)
CIE-LCHlch(55.52, 57.12, 106.65°)
OKLaboklab(61.1% -0.0511 0.1186)
OKLCHoklch(61.1% 0.129 113.3)
XYZxyz(18.9138, 23.4371, 4.3915)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B18 #1F188B
analogous
#8B5918 #848B18 #4B8B18
triadic
#848B18 #18848B #8B1884
tetradic
#848B18 #188B59 #1F188B #8B184B
square
#848B18 #188B59 #1F188B #8B184B
split-complementary
#848B18 #184B8B #59188B
monochromatic
#212306 #52570F #848B18 #B6BF21 #D4DE3F

Accessibility & contrast

On white

3.69
#848B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#848B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848B18
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848B18#FFFFFF#000000##000000
##848B181.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#8D8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b18;
/* rgb */ color: rgb(132, 139, 24);
/* oklch */ color: oklch(61.1% 0.129 113.3);
Tailwind
colors: {
  custom: {
    50: '#abac61',
    500: '#848b18',
    950: '#000000',
  },
}
SCSS
$custom: #848b18;
$custom-light: #abac61;
$custom-dark: #000000;
JSON
{
  "hex": "#848b18",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 63.652,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61095,
    "c": 0.12912,
    "h": 113.3
  },
  "luminance": 0.23437
}

Semantic roles & 50–950 ramp

primary
#848B18
secondary
#4840BE
accent
#3AED45
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848B18

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

Preview Lab → · Contrast checker → · Palette generator →

#848B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva