#BE9B2F#BE9B2F

#BE9B2F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.3% C 0.128 H 90.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#BE9B2F
RGBrgb(190, 155, 47)
HSLhsl(45, 60%, 46%)
HSVhsv(45, 75%, 75%)
CMYKcmyk(0%, 18.4%, 75.3%, 25.5%)
CIE-LABlab(65.43, 2.08, 58.04)
CIE-LCHlch(65.43, 58.08, 87.95°)
OKLaboklab(70.28% -0.0002 0.1277)
OKLCHoklch(70.28% 0.128 90.1)
XYZxyz(33.4716, 34.5972, 7.6037)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE9B2F #2F52BE
analogous
#BE542F #BE9B2F #9ABE2F
triadic
#BE9B2F #2FBE9B #9B2FBE
tetradic
#BE9B2F #2FBE54 #2F52BE #BE2F9A
square
#BE9B2F #2FBE54 #2F52BE #BE2F9A
split-complementary
#BE9B2F #2F9ABE #542FBE
monochromatic
#5C4B17 #8D7323 #BE9B2F #D5B655 #E1CB86

Accessibility & contrast

On white

2.65
#BE9B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#BE9B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE9B2F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE9B2F#FFFFFF#000000##000000
##BE9B2F1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991D
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#CE8E86
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #be9b2f;
/* rgb */ color: rgb(190, 155, 47);
/* oklch */ color: oklch(70.3% 0.128 90.1);
Tailwind
colors: {
  custom: {
    50: '#d6b86f',
    500: '#be9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #be9b2f;
$custom-light: #d6b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#be9b2f",
  "rgb": {
    "r": 190,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 45.315,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70284,
    "c": 0.12765,
    "h": 90.1
  },
  "luminance": 0.34595
}

Semantic roles & 50–950 ramp

primary
#BE9B2F
secondary
#7E91CB
accent
#6BE344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BE9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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