#EFE45F#EFE45F

#EFE45F is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.3% C 0.152 H 104.6°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#EFE45F
RGBrgb(239, 228, 95)
HSLhsl(55, 82%, 65%)
HSVhsv(55, 60%, 94%)
CMYKcmyk(0%, 4.6%, 60.3%, 6.3%)
CIE-LABlab(89.24, -12.17, 64.46)
CIE-LCHlch(89.24, 65.59, 100.69°)
OKLaboklab(90.3% -0.0384 0.1476)
OKLCHoklch(90.3% 0.152 104.6)
XYZxyz(65.4079, 74.6660, 21.7908)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE45F #5F6AEF
analogous
#EF9C5F #EFE45F #B2EF5F
triadic
#EFE45F #5FEFE4 #E45FEF
tetradic
#EFE45F #5FEF9C #5F6AEF #EF5FB2
square
#EFE45F #5FEF9C #5F6AEF #EF5FB2
split-complementary
#EFE45F #5FB2EF #9C5FEF
monochromatic
#C0B313 #E9DB27 #EFE45F #F5ED97 #FAF7CE

Accessibility & contrast

On white

1.32
#EFE45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#EFE45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE45F
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE45F#FFFFFF#000000##000000
##EFE45F1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD50
Deuteranopia (green-blind)
#FAE366
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe45f;
/* rgb */ color: rgb(239, 228, 95);
/* oklch */ color: oklch(90.3% 0.152 104.6);
Tailwind
colors: {
  custom: {
    50: '#f7ec91',
    500: '#efe45f',
    950: '#000000',
  },
}
SCSS
$custom: #efe45f;
$custom-light: #f7ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#efe45f",
  "rgb": {
    "r": 239,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 55.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90302,
    "c": 0.15247,
    "h": 104.6
  },
  "luminance": 0.74664
}

Semantic roles & 50–950 ramp

primary
#EFE45F
secondary
#343EBE
accent
#18DE07
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EFE45F

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

Preview Lab → · Contrast checker → · Palette generator →

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