#B7BF2E#B7BF2E

#B7BF2E is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.4% C 0.159 H 112.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#B7BF2E
RGBrgb(183, 191, 46)
HSLhsl(63, 61%, 46%)
HSVhsv(63, 76%, 75%)
CMYKcmyk(4.2%, 0%, 75.9%, 25.1%)
CIE-LABlab(74.53, -19.75, 66.69)
CIE-LCHlch(74.53, 69.55, 106.50°)
OKLaboklab(77.36% -0.0614 0.1461)
OKLCHoklch(77.36% 0.159 112.8)
XYZxyz(38.6536, 47.5270, 9.7217)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF2E #362EBF
analogous
#BF7F2E #B7BF2E #6FBF2E
triadic
#B7BF2E #2EB7BF #BF2EB7
tetradic
#B7BF2E #2EBF7F #362EBF #BF2E6F
square
#B7BF2E #2EBF7F #362EBF #BF2E6F
split-complementary
#B7BF2E #2E6FBF #7F2EBF
monochromatic
#585C16 #888E22 #B7BF2E #CFD654 #DDE286

Accessibility & contrast

On white

2.00
#B7BF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#B7BF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF2E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF2E#FFFFFF#000000##000000
##B7BF2E1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB606
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#C4B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf2e;
/* rgb */ color: rgb(183, 191, 46);
/* oklch */ color: oklch(77.4% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d273',
    500: '#b7bf2e',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf2e;
$custom-light: #d0d273;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf2e",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 63.31,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77362,
    "c": 0.15852,
    "h": 112.8
  },
  "luminance": 0.47526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7BF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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