#B0B240#B0B240

#B0B240 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.135 H 110.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#B0B240
RGBrgb(176, 178, 64)
HSLhsl(61, 47%, 47%)
HSVhsv(61, 64%, 70%)
CMYKcmyk(1.1%, 0%, 64%, 30.2%)
CIE-LABlab(70.48, -15.25, 55.91)
CIE-LCHlch(70.48, 57.95, 105.25°)
OKLaboklab(74.03% -0.0467 0.1266)
OKLCHoklch(74.03% 0.135 110.3)
XYZxyz(34.7514, 41.4420, 11.0180)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B240 #4240B2
analogous
#B27B40 #B0B240 #77B240
triadic
#B0B240 #40B0B2 #B240B0
tetradic
#B0B240 #40B27B #4240B2 #B24077
square
#B0B240 #40B27B #4240B2 #B24077
split-complementary
#B0B240 #4077B2 #7B40B2
monochromatic
#575820 #838530 #B0B240 #C7C867 #D7D894

Accessibility & contrast

On white

2.26
#B0B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#B0B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B240
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B240#FFFFFF#000000##000000
##B0B2401.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#BCA79A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b240;
/* rgb */ color: rgb(176, 178, 64);
/* oklch */ color: oklch(74.0% 0.135 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac87b',
    500: '#b0b240',
    950: '#000000',
  },
}
SCSS
$custom: #b0b240;
$custom-light: #cac87b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b240",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 61.053,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7403,
    "c": 0.13497,
    "h": 110.3
  },
  "luminance": 0.41441
}

Semantic roles & 50–950 ramp

primary
#B0B240
secondary
#8B8AC4
accent
#51D753
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B0B240

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

Preview Lab → · Contrast checker → · Palette generator →

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