#B4B274#B4B274

#B4B274 is a light, moderate yellow. Relative luminance 0.428; OKLCH L 75.1% C 0.082 H 106.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B4B274
RGBrgb(180, 178, 116)
HSLhsl(58, 30%, 58%)
HSVhsv(58, 36%, 71%)
CMYKcmyk(0%, 1.1%, 35.6%, 29.4%)
CIE-LABlab(71.42, -8.82, 31.99)
CIE-LCHlch(71.42, 33.18, 105.41°)
OKLaboklab(75.06% -0.0236 0.0788)
OKLCHoklch(75.06% 0.082 106.6)
XYZxyz(37.8956, 42.8058, 22.7857)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B274 #7476B4
analogous
#B49274 #B4B274 #96B474
triadic
#B4B274 #74B4B2 #B274B4
tetradic
#B4B274 #74B492 #7476B4 #B47496
square
#B4B274 #74B492 #7476B4 #B47496
split-complementary
#B4B274 #7496B4 #9274B4
monochromatic
#716F3D #999652 #B4B274 #C9C89C #DFDEC4

Accessibility & contrast

On white

2.20
#B4B274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B4B274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B274
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B274#FFFFFF#000000##000000
##B4B2741.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAD70
Deuteranopia (green-blind)
#BDB077
Tritanopia (blue-blind)
#BDAAA2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b274;
/* rgb */ color: rgb(180, 178, 116);
/* oklch */ color: oklch(75.1% 0.082 106.6);
Tailwind
colors: {
  custom: {
    50: '#cbc89d',
    500: '#b4b274',
    950: '#000000',
  },
}
SCSS
$custom: #b4b274;
$custom-light: #cbc89d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b274",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 116
  },
  "hsl": {
    "h": 58.125,
    "s": 29.907,
    "l": 58.039
  },
  "oklch": {
    "l": 0.75055,
    "c": 0.08225,
    "h": 106.6
  },
  "luminance": 0.42805
}

Semantic roles & 50–950 ramp

primary
#B4B274
secondary
#B5B6CF
accent
#65C662
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B4B274

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

Preview Lab → · Contrast checker → · Palette generator →

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