#B7BE2F#B7BE2F

#B7BE2F is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.157 H 112.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#B7BE2F
RGBrgb(183, 190, 47)
HSLhsl(63, 60%, 46%)
HSVhsv(63, 75%, 75%)
CMYKcmyk(3.7%, 0%, 75.3%, 25.5%)
CIE-LABlab(74.25, -19.21, 66.12)
CIE-LCHlch(74.25, 68.86, 106.20°)
OKLaboklab(77.15% -0.0598 0.1451)
OKLCHoklch(77.15% 0.157 112.4)
XYZxyz(38.4562, 47.1003, 9.7543)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BE2F #362FBE
analogous
#BE7E2F #B7BE2F #70BE2F
triadic
#B7BE2F #2FB7BE #BE2FB7
tetradic
#B7BE2F #2FBE7E #362FBE #BE2F70
square
#B7BE2F #2FBE7E #362FBE #BE2F70
split-complementary
#B7BE2F #2F70BE #7E2FBE
monochromatic
#585C17 #888D23 #B7BE2F #CFD555 #DDE186

Accessibility & contrast

On white

2.02
#B7BE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#B7BE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BE2F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BE2F#FFFFFF#000000##000000
##B7BE2F1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50B
Deuteranopia (green-blind)
#CDB83B
Tritanopia (blue-blind)
#C4B2A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7be2f;
/* rgb */ color: rgb(183, 190, 47);
/* oklch */ color: oklch(77.1% 0.157 112.4);
Tailwind
colors: {
  custom: {
    50: '#d0d173',
    500: '#b7be2f',
    950: '#000000',
  },
}
SCSS
$custom: #b7be2f;
$custom-light: #d0d173;
$custom-dark: #000000;
JSON
{
  "hex": "#b7be2f",
  "rgb": {
    "r": 183,
    "g": 190,
    "b": 47
  },
  "hsl": {
    "h": 62.937,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77146,
    "c": 0.15696,
    "h": 112.4
  },
  "luminance": 0.47099
}

Semantic roles & 50–950 ramp

primary
#B7BE2F
secondary
#827ECB
accent
#44E34C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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