#B0B236#B0B236

#B0B236 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.142 H 110.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B0B236
RGBrgb(176, 178, 54)
HSLhsl(61, 53%, 45%)
HSVhsv(61, 70%, 70%)
CMYKcmyk(1.1%, 0%, 69.7%, 30.2%)
CIE-LABlab(70.41, -15.83, 59.81)
CIE-LCHlch(70.41, 61.87, 104.82°)
OKLaboklab(73.95% -0.0494 0.1332)
OKLCHoklch(73.95% 0.142 110.3)
XYZxyz(34.4919, 41.3382, 9.6514)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B236 #3836B2
analogous
#B27636 #B0B236 #72B236
triadic
#B0B236 #36B0B2 #B236B0
tetradic
#B0B236 #36B276 #3836B2 #B23672
square
#B0B236 #36B276 #3836B2 #B23672
split-complementary
#B0B236 #3672B2 #7636B2
monochromatic
#53541A #828328 #B0B236 #CBCD59 #D9DB88

Accessibility & contrast

On white

2.27
#B0B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B0B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B236
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B236#FFFFFF#000000##000000
##B0B2361.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b236;
/* rgb */ color: rgb(176, 178, 54);
/* oklch */ color: oklch(73.9% 0.142 110.3);
Tailwind
colors: {
  custom: {
    50: '#cbc875',
    500: '#b0b236',
    950: '#000000',
  },
}
SCSS
$custom: #b0b236;
$custom-light: #cbc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b236",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 60.968,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73949,
    "c": 0.14209,
    "h": 110.3
  },
  "luminance": 0.41337
}

Semantic roles & 50–950 ramp

primary
#B0B236
secondary
#807FC5
accent
#4BDD4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B236

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

Preview Lab → · Contrast checker → · Palette generator →

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