#BAD237#BAD237

#BAD237 is a light, vivid yellow. Relative luminance 0.568; OKLCH L 81.9% C 0.173 H 118.2°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#BAD237
RGBrgb(186, 210, 55)
HSLhsl(69, 63%, 52%)
HSVhsv(69, 74%, 82%)
CMYKcmyk(11.4%, 0%, 73.8%, 17.6%)
CIE-LABlab(80.07, -27.35, 69.06)
CIE-LCHlch(80.07, 74.28, 111.61°)
OKLaboklab(81.88% -0.0819 0.1526)
OKLCHoklch(81.88% 0.173 118.2)
XYZxyz(43.9869, 56.8085, 12.2616)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD237 #4F37D2
analogous
#D29C37 #BAD237 #6DD237
triadic
#BAD237 #37BAD2 #D237BA
tetradic
#BAD237 #37D29C #4F37D2 #D2376D
square
#BAD237 #37D29C #4F37D2 #D2376D
split-complementary
#BAD237 #376DD2 #9C37D2
monochromatic
#66741A #92A625 #BAD237 #CBDD69 #DCE89B

Accessibility & contrast

On white

1.70
#BAD237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#BAD237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD237
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD237#FFFFFF#000000##000000
##BAD2371.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C615
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#C5C6B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad237;
/* rgb */ color: rgb(186, 210, 55);
/* oklch */ color: oklch(81.9% 0.173 118.2);
Tailwind
colors: {
  custom: {
    50: '#d2df79',
    500: '#bad237',
    950: '#000000',
  },
}
SCSS
$custom: #bad237;
$custom-light: #d2df79;
$custom-dark: #000000;
JSON
{
  "hex": "#bad237",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 55
  },
  "hsl": {
    "h": 69.29,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.17317,
    "h": 118.2
  },
  "luminance": 0.56808
}

Semantic roles & 50–950 ramp

primary
#BAD237
secondary
#3C307D
accent
#41E65B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD237

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

Preview Lab → · Contrast checker → · Palette generator →

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