#B0C340#B0C340

#B0C340 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.154 H 117.2°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B0C340
RGBrgb(176, 195, 64)
HSLhsl(69, 52%, 51%)
HSVhsv(69, 67%, 76%)
CMYKcmyk(9.7%, 0%, 67.2%, 23.5%)
CIE-LABlab(75.22, -23.74, 60.82)
CIE-LCHlch(75.22, 65.28, 111.32°)
OKLaboklab(77.82% -0.0705 0.137)
OKLCHoklch(77.82% 0.154 117.2)
XYZxyz(38.3458, 48.6309, 12.2161)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C340 #5340C3
analogous
#C39440 #B0C340 #6EC340
triadic
#B0C340 #40B0C3 #C340B0
tetradic
#B0C340 #40C394 #5340C3 #C3406E
square
#B0C340 #40C394 #5340C3 #C3406E
split-complementary
#B0C340 #406EC3 #9440C3
monochromatic
#5E6821 #88972F #B0C340 #C3D26F #D7E09D

Accessibility & contrast

On white

1.96
#B0C340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#B0C340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C340
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C340#FFFFFF#000000##000000
##B0C3401.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#BBB8A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b0c340;
/* rgb */ color: rgb(176, 195, 64);
/* oklch */ color: oklch(77.8% 0.154 117.2);
Tailwind
colors: {
  custom: {
    50: '#cbd57c',
    500: '#b0c340',
    950: '#000000',
  },
}
SCSS
$custom: #b0c340;
$custom-light: #cbd57c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c340",
  "rgb": {
    "r": 176,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 68.702,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77824,
    "c": 0.15404,
    "h": 117.2
  },
  "luminance": 0.4863
}

Semantic roles & 50–950 ramp

primary
#B0C340
secondary
#9B92CC
accent
#4CDC61
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #B0C340

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

Preview Lab → · Contrast checker → · Palette generator →

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