#BAF062#BAF062

#BAF062 is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 89.0% C 0.179 H 127.3°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#BAF062
RGBrgb(186, 240, 98)
HSLhsl(83, 83%, 66%)
HSVhsv(83, 59%, 94%)
CMYKcmyk(22.5%, 0%, 59.2%, 5.9%)
CIE-LABlab(88.75, -38.39, 61.60)
CIE-LCHlch(88.75, 72.58, 121.93°)
OKLaboklab(88.99% -0.1086 0.1428)
OKLCHoklch(88.99% 0.179 127.3)
XYZxyz(53.6143, 73.6402, 22.9422)
Luminance0.7364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF062 #9862F0
analogous
#F0DF62 #BAF062 #73F062
triadic
#BAF062 #62BAF0 #F062BA
tetradic
#BAF062 #62F0DF #9862F0 #F06273
square
#BAF062 #62F0DF #9862F0 #F06273
split-complementary
#BAF062 #6273F0 #DF62F0
monochromatic
#81C513 #A1EB2A #BAF062 #D3F59A #EBFBD2

Accessibility & contrast

On white

1.34
#BAF062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#BAF062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF062
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF062#FFFFFF#000000##000000
##BAF0621.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE152
Deuteranopia (green-blind)
#F4DE6C
Tritanopia (blue-blind)
#C0E6D2
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #baf062;
/* rgb */ color: rgb(186, 240, 98);
/* oklch */ color: oklch(89.0% 0.179 127.3);
Tailwind
colors: {
  custom: {
    50: '#d2f594',
    500: '#baf062',
    950: '#000000',
  },
}
SCSS
$custom: #baf062;
$custom-light: #d2f594;
$custom-dark: #000000;
JSON
{
  "hex": "#baf062",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 98
  },
  "hsl": {
    "h": 82.817,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88989,
    "c": 0.17944,
    "h": 127.3
  },
  "luminance": 0.73641
}

Semantic roles & 50–950 ramp

primary
#BAF062
secondary
#6A34C2
accent
#07DF59
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF062

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

Preview Lab → · Contrast checker → · Palette generator →

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