#FFEF70#FFEF70

#FFEF70 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.1% C 0.148 H 102.2°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#FFEF70
RGBrgb(255, 239, 112)
HSLhsl(53, 100%, 72%)
HSVhsv(53, 56%, 100%)
CMYKcmyk(0%, 6.3%, 56.1%, 0%)
CIE-LABlab(93.52, -9.97, 62.23)
CIE-LCHlch(93.52, 63.02, 99.10°)
OKLaboklab(94.07% -0.0312 0.1445)
OKLCHoklch(94.07% 0.148 102.2)
XYZxyz(75.0337, 84.1656, 27.6193)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF70 #7080FF
analogous
#FFA870 #FFEF70 #C7FF70
triadic
#FFEF70 #70FFEF #EF70FF
tetradic
#FFEF70 #70FFA8 #7080FF #FF70C7
square
#FFEF70 #70FFA8 #7080FF #FF70C7
split-complementary
#FFEF70 #70C7FF #A870FF
monochromatic
#F5D900 #FFE833 #FFEF70 #FFF6AD #FFFCE0

Accessibility & contrast

On white

1.18
#FFEF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#FFEF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF70
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF70#FFFFFF#000000##000000
##FFEF701.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#FFF076
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef70;
/* rgb */ color: rgb(255, 239, 112);
/* oklch */ color: oklch(94.1% 0.148 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#ffef70',
    950: '#000000',
  },
}
SCSS
$custom: #ffef70;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef70",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 112
  },
  "hsl": {
    "h": 53.287,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94073,
    "c": 0.14787,
    "h": 102.2
  },
  "luminance": 0.84163
}

Semantic roles & 50–950 ramp

primary
#FFEF70
secondary
#374ADC
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF70

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

Preview Lab → · Contrast checker → · Palette generator →

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