#B7BA2E#B7BA2E

#B7BA2E is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.153 H 110.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#B7BA2E
RGBrgb(183, 186, 46)
HSLhsl(61, 60%, 45%)
HSVhsv(61, 75%, 73%)
CMYKcmyk(1.6%, 0%, 75.3%, 27.1%)
CIE-LABlab(73.14, -17.25, 65.41)
CIE-LCHlch(73.14, 67.65, 104.78°)
OKLaboklab(76.26% -0.0545 0.1434)
OKLCHoklch(76.26% 0.153 110.8)
XYZxyz(37.5818, 45.3834, 9.3644)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA2E #312EBA
analogous
#BA772E #B7BA2E #71BA2E
triadic
#B7BA2E #2EB7BA #BA2EB7
tetradic
#B7BA2E #2EBA77 #312EBA #BA2E71
square
#B7BA2E #2EBA77 #312EBA #BA2E71
split-complementary
#B7BA2E #2E71BA #772EBA
monochromatic
#565816 #878922 #B7BA2E #D1D451 #DEE082

Accessibility & contrast

On white

2.08
#B7BA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#B7BA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA2E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA2E#FFFFFF#000000##000000
##B7BA2E1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20B
Deuteranopia (green-blind)
#CAB53A
Tritanopia (blue-blind)
#C4AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba2e;
/* rgb */ color: rgb(183, 186, 46);
/* oklch */ color: oklch(76.3% 0.153 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce72',
    500: '#b7ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba2e;
$custom-light: #d0ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba2e",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 61.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76256,
    "c": 0.15342,
    "h": 110.8
  },
  "luminance": 0.45382
}

Semantic roles & 50–950 ramp

primary
#B7BA2E
secondary
#7C7BC9
accent
#44E348
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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