#B0B242#B0B242

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

Color values

HEX#B0B242
RGBrgb(176, 178, 66)
HSLhsl(61, 46%, 48%)
HSVhsv(61, 63%, 70%)
CMYKcmyk(1.1%, 0%, 62.9%, 30.2%)
CIE-LABlab(70.50, -15.12, 55.09)
CIE-LCHlch(70.50, 57.12, 105.35°)
OKLaboklab(74.05% -0.0461 0.1252)
OKLCHoklch(74.05% 0.133 110.2)
XYZxyz(34.8093, 41.4651, 11.3231)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B242 #4442B2
analogous
#B27C42 #B0B242 #78B242
triadic
#B0B242 #42B0B2 #B242B0
tetradic
#B0B242 #42B27C #4442B2 #B24278
square
#B0B242 #42B27C #4442B2 #B24278
split-complementary
#B0B242 #4278B2 #7C42B2
monochromatic
#585921 #848531 #B0B242 #C6C86A #D7D896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B242#FFFFFF#000000##000000
##B0B2421.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)
#BFAB34
Deuteranopia (green-blind)
#C1AE49
Tritanopia (blue-blind)
#BCA79B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b242;
/* rgb */ color: rgb(176, 178, 66);
/* oklch */ color: oklch(74.0% 0.133 110.2);
Tailwind
colors: {
  custom: {
    50: '#cac87c',
    500: '#b0b242',
    950: '#000000',
  },
}
SCSS
$custom: #b0b242;
$custom-light: #cac87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b242",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 61.071,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74048,
    "c": 0.13342,
    "h": 110.2
  },
  "luminance": 0.41464
}

Semantic roles & 50–950 ramp

primary
#B0B242
secondary
#8D8CC4
accent
#52D655
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B0B242

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

Preview Lab → · Contrast checker → · Palette generator →

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