#907B2F#907B2F

#907B2F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.7% C 0.098 H 93.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#907B2F
RGBrgb(144, 123, 47)
HSLhsl(47, 51%, 37%)
HSVhsv(47, 67%, 56%)
CMYKcmyk(0%, 14.6%, 67.4%, 43.5%)
CIE-LABlab(52.18, -1.01, 43.16)
CIE-LCHlch(52.18, 43.17, 91.33°)
OKLaboklab(58.74% -0.0062 0.0979)
OKLCHoklch(58.74% 0.098 93.6)
XYZxyz(19.0986, 20.3015, 5.6014)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907B2F #2F4490
analogous
#904A2F #907B2F #75902F
triadic
#907B2F #2F907B #7B2F90
tetradic
#907B2F #2F904A #2F4490 #902F75
square
#907B2F #2F904A #2F4490 #902F75
split-complementary
#907B2F #2F7590 #4A2F90
monochromatic
#342C11 #625420 #907B2F #BEA23E #CFB96B

Accessibility & contrast

On white

4.15
#907B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#907B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907B2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907B2F#FFFFFF#000000##000000
##907B2F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#9B716B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #907b2f;
/* rgb */ color: rgb(144, 123, 47);
/* oklch */ color: oklch(58.7% 0.098 93.6);
Tailwind
colors: {
  custom: {
    50: '#b3a06b',
    500: '#907b2f',
    950: '#000000',
  },
}
SCSS
$custom: #907b2f;
$custom-light: #b3a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#907b2f",
  "rgb": {
    "r": 144,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 47.01,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.09809,
    "h": 93.6
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#907B2F
secondary
#6577B6
accent
#6CDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #907B2F

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

Preview Lab → · Contrast checker → · Palette generator →

#907B2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva