#BE9F40#BE9F40

#BE9F40 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.3% C 0.118 H 90.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BE9F40
RGBrgb(190, 159, 64)
HSLhsl(45, 50%, 50%)
HSVhsv(45, 66%, 75%)
CMYKcmyk(0%, 16.3%, 66.3%, 25.5%)
CIE-LABlab(66.61, 0.81, 52.19)
CIE-LCHlch(66.61, 52.20, 89.11°)
OKLaboklab(71.25% -0.0018 0.1184)
OKLCHoklch(71.25% 0.118 90.9)
XYZxyz(34.5605, 36.1156, 10.0001)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE9F40 #405FBE
analogous
#BE6040 #BE9F40 #9EBE40
triadic
#BE9F40 #40BE9F #9F40BE
tetradic
#BE9F40 #40BE60 #405FBE #BE409E
square
#BE9F40 #40BE60 #405FBE #BE409E
split-complementary
#BE9F40 #409EBE #6040BE
monochromatic
#625221 #907931 #BE9F40 #CEB66D #DDCD9B

Accessibility & contrast

On white

2.55
#BE9F40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BE9F40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE9F40
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE9F40#FFFFFF#000000##000000
##BE9F401.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D35
Deuteranopia (green-blind)
#B7A644
Tritanopia (blue-blind)
#CD938B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #be9f40;
/* rgb */ color: rgb(190, 159, 64);
/* oklch */ color: oklch(71.3% 0.118 90.9);
Tailwind
colors: {
  custom: {
    50: '#d5bb79',
    500: '#be9f40',
    950: '#000000',
  },
}
SCSS
$custom: #be9f40;
$custom-light: #d5bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#be9f40",
  "rgb": {
    "r": 190,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 45.238,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71251,
    "c": 0.11837,
    "h": 90.9
  },
  "luminance": 0.36114
}

Semantic roles & 50–950 ramp

primary
#BE9F40
secondary
#909EC9
accent
#71D94F
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BE9F40

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

Preview Lab → · Contrast checker → · Palette generator →

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