#B2B74A#B2B74A

#B2B74A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.132 H 111.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B2B74A
RGBrgb(178, 183, 74)
HSLhsl(63, 43%, 50%)
HSVhsv(63, 60%, 72%)
CMYKcmyk(2.7%, 0%, 59.6%, 28.2%)
CIE-LABlab(72.11, -16.26, 53.41)
CIE-LCHlch(72.11, 55.83, 106.94°)
OKLaboklab(75.4% -0.0486 0.1227)
OKLCHoklch(75.4% 0.132 111.6)
XYZxyz(36.5306, 43.8272, 13.0124)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B74A #4F4AB7
analogous
#B7854A #B2B74A #7CB74A
triadic
#B2B74A #4AB2B7 #B74AB2
tetradic
#B2B74A #4AB785 #4F4AB7 #B74A7C
square
#B2B74A #4AB785 #4F4AB7 #B74A7C
split-complementary
#B2B74A #4A7CB7 #854AB7
monochromatic
#5E6026 #888C38 #B2B74A #C5C876 #D7DAA2

Accessibility & contrast

On white

2.15
#B2B74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B2B74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B74A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B74A#FFFFFF#000000##000000
##B2B74A1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3E
Deuteranopia (green-blind)
#C5B251
Tritanopia (blue-blind)
#BDADA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b74a;
/* rgb */ color: rgb(178, 183, 74);
/* oklch */ color: oklch(75.4% 0.132 111.6);
Tailwind
colors: {
  custom: {
    50: '#cccc81',
    500: '#b2b74a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b74a;
$custom-light: #cccc81;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b74a",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 62.752,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75397,
    "c": 0.13199,
    "h": 111.6
  },
  "luminance": 0.43826
}

Semantic roles & 50–950 ramp

primary
#B2B74A
secondary
#9896C7
accent
#55D35B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B74A

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

Preview Lab → · Contrast checker → · Palette generator →

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