#848118#848118

#848118 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.119 H 107.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#848118
RGBrgb(132, 129, 24)
HSLhsl(58, 69%, 31%)
HSVhsv(58, 82%, 52%)
CMYKcmyk(0%, 2.3%, 81.8%, 48.2%)
CIE-LABlab(52.59, -11.02, 52.16)
CIE-LCHlch(52.59, 53.31, 101.93°)
OKLaboklab(58.75% -0.0363 0.1131)
OKLCHoklch(58.75% 0.119 107.8)
XYZxyz(17.5316, 20.6726, 3.9307)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848118 #181B84
analogous
#844B18 #848118 #518418
triadic
#848118 #188481 #811884
tetradic
#848118 #18844B #181B84 #841851
square
#848118 #18844B #181B84 #841851
split-complementary
#848118 #185184 #4B1884
monochromatic
#1C1C05 #504E0F #848118 #B8B421 #DBD73B

Accessibility & contrast

On white

4.09
#848118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#848118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848118
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848118#FFFFFF#000000##000000
##8481181.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#8E786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #848118;
/* rgb */ color: rgb(132, 129, 24);
/* oklch */ color: oklch(58.8% 0.119 107.8);
Tailwind
colors: {
  custom: {
    50: '#aba560',
    500: '#848118',
    950: '#000000',
  },
}
SCSS
$custom: #848118;
$custom-light: #aba560;
$custom-dark: #000000;
JSON
{
  "hex": "#848118",
  "rgb": {
    "r": 132,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 58.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58751,
    "c": 0.11875,
    "h": 107.8
  },
  "luminance": 0.20672
}

Semantic roles & 50–950 ramp

primary
#848118
secondary
#4043B8
accent
#41EC3C
background
#FAFAF5
surface
#F5F4EA
border
#CFCEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #848118

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

Preview Lab → · Contrast checker → · Palette generator →

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