#B0B252#B0B252

#B0B252 is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.120 H 110.1°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B0B252
RGBrgb(176, 178, 82)
HSLhsl(61, 38%, 51%)
HSVhsv(61, 54%, 70%)
CMYKcmyk(1.1%, 0%, 53.9%, 30.2%)
CIE-LABlab(70.65, -13.92, 48.06)
CIE-LCHlch(70.65, 50.04, 106.16°)
OKLaboklab(74.22% -0.041 0.1123)
OKLCHoklch(74.22% 0.12 110.1)
XYZxyz(35.3487, 41.6809, 14.1641)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B252 #5452B2
analogous
#B28452 #B0B252 #80B252
triadic
#B0B252 #52B0B2 #B252B0
tetradic
#B0B252 #52B284 #5452B2 #B25280
square
#B0B252 #52B284 #5452B2 #B25280
split-complementary
#B0B252 #5280B2 #8452B2
monochromatic
#5E5F2A #888A3D #B0B252 #C3C57C #D7D8A7

Accessibility & contrast

On white

2.25
#B0B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B0B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B252
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B252#FFFFFF#000000##000000
##B0B2521.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#BFAE57
Tritanopia (blue-blind)
#BBA89D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b0b252;
/* rgb */ color: rgb(176, 178, 82);
/* oklch */ color: oklch(74.2% 0.120 110.1);
Tailwind
colors: {
  custom: {
    50: '#cac886',
    500: '#b0b252',
    950: '#000000',
  },
}
SCSS
$custom: #b0b252;
$custom-light: #cac886;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b252",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 61.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74216,
    "c": 0.11952,
    "h": 110.1
  },
  "luminance": 0.4168
}

Semantic roles & 50–950 ramp

primary
#B0B252
secondary
#9C9BC5
accent
#59CE5C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #B0B252

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

Preview Lab → · Contrast checker → · Palette generator →

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