#EBF162#EBF162

#EBF162 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.7% C 0.164 H 111.4°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#EBF162
RGBrgb(235, 241, 98)
HSLhsl(63, 84%, 66%)
HSVhsv(63, 59%, 95%)
CMYKcmyk(2.5%, 0%, 59.3%, 5.5%)
CIE-LABlab(92.33, -19.94, 66.48)
CIE-LCHlch(92.33, 69.40, 106.69°)
OKLaboklab(92.7% -0.0598 0.1523)
OKLCHoklch(92.7% 0.164 111.4)
XYZxyz(67.9227, 81.4561, 23.6975)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBF162 #6862F1
analogous
#F1AF62 #EBF162 #A4F162
triadic
#EBF162 #62EBF1 #F162EB
tetradic
#EBF162 #62F1AF #6862F1 #F162A4
square
#EBF162 #62F1AF #6862F1 #F162A4
split-complementary
#EBF162 #62A4F1 #AF62F1
monochromatic
#BFC712 #E4EC2A #EBF162 #F2F69A #F9FBD2

Accessibility & contrast

On white

1.21
#EBF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#EBF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBF162
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBF162#FFFFFF#000000##000000
##EBF1621.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#FAE3D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ebf162;
/* rgb */ color: rgb(235, 241, 98);
/* oklch */ color: oklch(92.7% 0.164 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f594',
    500: '#ebf162',
    950: '#000000',
  },
}
SCSS
$custom: #ebf162;
$custom-light: #f4f594;
$custom-dark: #000000;
JSON
{
  "hex": "#ebf162",
  "rgb": {
    "r": 235,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 62.517,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92703,
    "c": 0.16367,
    "h": 111.4
  },
  "luminance": 0.81455
}

Semantic roles & 50–950 ramp

primary
#EBF162
secondary
#3933C4
accent
#05E00F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EBF162

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

Preview Lab → · Contrast checker → · Palette generator →

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