#B0B338#B0B338

#B0B338 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.142 H 110.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B0B338
RGBrgb(176, 179, 56)
HSLhsl(61, 52%, 46%)
HSVhsv(61, 69%, 70%)
CMYKcmyk(1.7%, 0%, 68.7%, 29.8%)
CIE-LABlab(70.70, -16.23, 59.34)
CIE-LCHlch(70.70, 61.52, 105.29°)
OKLaboklab(74.19% -0.0503 0.1326)
OKLCHoklch(74.19% 0.142 110.8)
XYZxyz(34.7395, 41.7567, 9.9705)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B338 #3B38B3
analogous
#B37838 #B0B338 #72B338
triadic
#B0B338 #38B0B3 #B338B0
tetradic
#B0B338 #38B378 #3B38B3 #B33872
square
#B0B338 #38B378 #3B38B3 #B33872
split-complementary
#B0B338 #3872B3 #7838B3
monochromatic
#54561B #828429 #B0B338 #C9CC5C #D9DB8B

Accessibility & contrast

On white

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

On black

9.35
#B0B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B338
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B338#FFFFFF#000000##000000
##B0B3381.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#BCA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b0b338;
/* rgb */ color: rgb(176, 179, 56);
/* oklch */ color: oklch(74.2% 0.142 110.8);
Tailwind
colors: {
  custom: {
    50: '#cbc976',
    500: '#b0b338',
    950: '#000000',
  },
}
SCSS
$custom: #b0b338;
$custom-light: #cbc976;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b338",
  "rgb": {
    "r": 176,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 61.463,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74186,
    "c": 0.1418,
    "h": 110.8
  },
  "luminance": 0.41756
}

Semantic roles & 50–950 ramp

primary
#B0B338
secondary
#8382C5
accent
#4CDC50
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B338

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

Preview Lab → · Contrast checker → · Palette generator →

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