#B0B238#B0B238

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

Color values

HEX#B0B238
RGBrgb(176, 178, 56)
HSLhsl(61, 52%, 46%)
HSVhsv(61, 69%, 70%)
CMYKcmyk(1.1%, 0%, 68.5%, 30.2%)
CIE-LABlab(70.43, -15.72, 59.06)
CIE-LCHlch(70.43, 61.12, 104.90°)
OKLaboklab(73.96% -0.0489 0.132)
OKLCHoklch(73.96% 0.141 110.3)
XYZxyz(34.5398, 41.3574, 9.9039)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B238 #3A38B2
analogous
#B27738 #B0B238 #73B238
triadic
#B0B238 #38B0B2 #B238B0
tetradic
#B0B238 #38B277 #3A38B2 #B23873
square
#B0B238 #38B277 #3A38B2 #B23873
split-complementary
#B0B238 #3873B2 #7738B2
monochromatic
#54551B #828329 #B0B238 #CACC5C #D9DA8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B238#FFFFFF#000000##000000
##B0B2381.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)
#C0AA25
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#BCA79A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b238;
/* rgb */ color: rgb(176, 178, 56);
/* oklch */ color: oklch(74.0% 0.141 110.3);
Tailwind
colors: {
  custom: {
    50: '#cbc876',
    500: '#b0b238',
    950: '#000000',
  },
}
SCSS
$custom: #b0b238;
$custom-light: #cbc876;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b238",
  "rgb": {
    "r": 176,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 60.984,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73964,
    "c": 0.14075,
    "h": 110.3
  },
  "luminance": 0.41356
}

Semantic roles & 50–950 ramp

primary
#B0B238
secondary
#8281C5
accent
#4CDC4F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B238

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

Preview Lab → · Contrast checker → · Palette generator →

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