#90842F#90842F

#90842F is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.106 H 101.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#90842F
RGBrgb(144, 132, 47)
HSLhsl(53, 51%, 37%)
HSVhsv(53, 67%, 56%)
CMYKcmyk(0%, 8.3%, 67.4%, 43.5%)
CIE-LABlab(54.70, -6.02, 45.82)
CIE-LCHlch(54.70, 46.22, 97.48°)
OKLaboklab(60.74% -0.0205 0.1035)
OKLCHoklch(60.74% 0.106 101.2)
XYZxyz(20.2668, 22.6379, 5.9908)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90842F #2F3B90
analogous
#90532F #90842F #6C902F
triadic
#90842F #2F9084 #842F90
tetradic
#90842F #2F9053 #2F3B90 #902F6C
square
#90842F #2F9053 #2F3B90 #902F6C
split-complementary
#90842F #2F6C90 #532F90
monochromatic
#342F11 #625A20 #90842F #BEAE3E #CFC26B

Accessibility & contrast

On white

3.80
#90842F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#90842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #90842F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90842F#FFFFFF#000000##000000
##90842F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#9B7B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #90842f;
/* rgb */ color: rgb(144, 132, 47);
/* oklch */ color: oklch(60.7% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#b3a76c',
    500: '#90842f',
    950: '#000000',
  },
}
SCSS
$custom: #90842f;
$custom-light: #b3a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#90842f",
  "rgb": {
    "r": 144,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 52.577,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.10555,
    "h": 101.2
  },
  "luminance": 0.22637
}

Semantic roles & 50–950 ramp

primary
#90842F
secondary
#656FB6
accent
#5FDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #90842F

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

Preview Lab → · Contrast checker → · Palette generator →

#90842F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva