#B2B45F#B2B45F

#B2B45F is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.109 H 109.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B2B45F
RGBrgb(178, 180, 95)
HSLhsl(61, 36%, 54%)
HSVhsv(61, 47%, 71%)
CMYKcmyk(1.1%, 0%, 47.2%, 29.4%)
CIE-LABlab(71.51, -12.95, 42.82)
CIE-LCHlch(71.51, 44.73, 106.83°)
OKLaboklab(74.99% -0.037 0.102)
OKLCHoklch(74.99% 0.109 109.9)
XYZxyz(36.7476, 42.9345, 17.1756)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B45F #615FB4
analogous
#B48C5F #B2B45F #88B45F
triadic
#B2B45F #5FB2B4 #B45FB2
tetradic
#B2B45F #5FB48C #615FB4 #B45F88
square
#B2B45F #5FB48C #615FB4 #B45F88
split-complementary
#B2B45F #5F88B4 #8C5FB4
monochromatic
#676831 #909244 #B2B45F #C6C889 #DADBB2

Accessibility & contrast

On white

2.19
#B2B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B2B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B45F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B45F#FFFFFF#000000##000000
##B2B45F1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE58
Deuteranopia (green-blind)
#C1B163
Tritanopia (blue-blind)
#BCABA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b45f;
/* rgb */ color: rgb(178, 180, 95);
/* oklch */ color: oklch(75.0% 0.109 109.9);
Tailwind
colors: {
  custom: {
    50: '#cbca8e',
    500: '#b2b45f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b45f;
$custom-light: #cbca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b45f",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 61.412,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74989,
    "c": 0.10854,
    "h": 109.9
  },
  "luminance": 0.42934
}

Semantic roles & 50–950 ramp

primary
#B2B45F
secondary
#A6A5CA
accent
#5CCC5E
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #B2B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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