#B0B138#B0B138

#B0B138 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.140 H 109.8°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B0B138
RGBrgb(176, 177, 56)
HSLhsl(60, 52%, 46%)
HSVhsv(60, 68%, 69%)
CMYKcmyk(0.6%, 0%, 68.4%, 30.6%)
CIE-LABlab(70.15, -15.21, 58.79)
CIE-LCHlch(70.15, 60.72, 104.51°)
OKLaboklab(73.74% -0.0474 0.1314)
OKLCHoklch(73.74% 0.14 109.8)
XYZxyz(34.3416, 40.9609, 9.8378)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B138 #3938B1
analogous
#B17538 #B0B138 #73B138
triadic
#B0B138 #38B0B1 #B138B0
tetradic
#B0B138 #38B175 #3938B1 #B13873
square
#B0B138 #38B175 #3938B1 #B13873
split-complementary
#B0B138 #3873B1 #7538B1
monochromatic
#54541B #828329 #B0B138 #CACB5B #D9DA8A

Accessibility & contrast

On white

2.28
#B0B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B0B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B138
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B138#FFFFFF#000000##000000
##B0B1381.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA925
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#BCA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b0b138;
/* rgb */ color: rgb(176, 177, 56);
/* oklch */ color: oklch(73.7% 0.140 109.8);
Tailwind
colors: {
  custom: {
    50: '#cbc876',
    500: '#b0b138',
    950: '#000000',
  },
}
SCSS
$custom: #b0b138;
$custom-light: #cbc876;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b138",
  "rgb": {
    "r": 176,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 60.496,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73743,
    "c": 0.13971,
    "h": 109.8
  },
  "luminance": 0.4096
}

Semantic roles & 50–950 ramp

primary
#B0B138
secondary
#8181C4
accent
#4CDB4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B138

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

Preview Lab → · Contrast checker → · Palette generator →

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