#907F18#907F18

#907F18 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.116 H 99.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#907F18
RGBrgb(144, 127, 24)
HSLhsl(52, 71%, 33%)
HSVhsv(52, 83%, 56%)
CMYKcmyk(0%, 11.8%, 83.3%, 43.5%)
CIE-LABlab(53.14, -4.35, 53.07)
CIE-LCHlch(53.14, 53.25, 94.69°)
OKLaboklab(59.46% -0.0183 0.1144)
OKLCHoklch(59.46% 0.116 99.1)
XYZxyz(19.2568, 21.1750, 3.9368)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F18 #182990
analogous
#904318 #907F18 #659018
triadic
#907F18 #18907F #7F1890
tetradic
#907F18 #189043 #182990 #901865
square
#907F18 #189043 #182990 #901865
split-complementary
#907F18 #186590 #431890
monochromatic
#272207 #5C510F #907F18 #C4AD21 #E0C943

Accessibility & contrast

On white

4.01
#907F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#907F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907F18
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907F18#FFFFFF#000000##000000
##907F181.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#9C756C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f18;
/* rgb */ color: rgb(144, 127, 24);
/* oklch */ color: oklch(59.5% 0.116 99.1);
Tailwind
colors: {
  custom: {
    50: '#b4a360',
    500: '#907f18',
    950: '#000000',
  },
}
SCSS
$custom: #907f18;
$custom-light: #b4a360;
$custom-dark: #000000;
JSON
{
  "hex": "#907f18",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 51.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.11588,
    "h": 99.1
  },
  "luminance": 0.21174
}

Semantic roles & 50–950 ramp

primary
#907F18
secondary
#4355C0
accent
#53EE3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #907F18

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

Preview Lab → · Contrast checker → · Palette generator →

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