#B2BA62#B2BA62

#B2BA62 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.113 H 113.3°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#B2BA62
RGBrgb(178, 186, 98)
HSLhsl(65, 39%, 56%)
HSVhsv(65, 47%, 73%)
CMYKcmyk(4.3%, 0%, 47.3%, 27.1%)
CIE-LABlab(73.20, -15.73, 43.38)
CIE-LCHlch(73.20, 46.14, 109.93°)
OKLaboklab(76.35% -0.0447 0.1035)
OKLCHoklch(76.35% 0.113 113.3)
XYZxyz(38.1242, 45.4652, 18.3202)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA62 #6A62BA
analogous
#BA9662 #B2BA62 #86BA62
triadic
#B2BA62 #62B2BA #BA62B2
tetradic
#B2BA62 #62BA96 #6A62BA #BA6286
square
#B2BA62 #62BA96 #6A62BA #BA6286
split-complementary
#B2BA62 #6286BA #9662BA
monochromatic
#6B7031 #939B44 #B2BA62 #C7CD8D #DCDFB7

Accessibility & contrast

On white

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

On black

10.09
#B2BA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA62
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA62#FFFFFF#000000##000000
##B2BA621.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B35A
Deuteranopia (green-blind)
#C5B566
Tritanopia (blue-blind)
#BBB1A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2ba62;
/* rgb */ color: rgb(178, 186, 98);
/* oklch */ color: oklch(76.3% 0.113 113.3);
Tailwind
colors: {
  custom: {
    50: '#cbce90',
    500: '#b2ba62',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba62;
$custom-light: #cbce90;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba62",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 98
  },
  "hsl": {
    "h": 65.455,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76346,
    "c": 0.11272,
    "h": 113.3
  },
  "luminance": 0.45465
}

Semantic roles & 50–950 ramp

primary
#B2BA62
secondary
#ADAACE
accent
#59CF64
background
#FCFCF9
surface
#F9F9F1
border
#D2D2CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #B2BA62

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

Preview Lab → · Contrast checker → · Palette generator →

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