#EFD270#EFD270

#EFD270 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.8% C 0.122 H 93.2°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#EFD270
RGBrgb(239, 210, 112)
HSLhsl(46, 80%, 69%)
HSVhsv(46, 53%, 94%)
CMYKcmyk(0%, 12.1%, 53.1%, 6.3%)
CIE-LABlab(84.80, -1.86, 51.74)
CIE-LCHlch(84.80, 51.77, 92.06°)
OKLaboklab(86.84% -0.0069 0.1221)
OKLCHoklch(86.84% 0.122 93.2)
XYZxyz(61.5701, 65.6166, 24.7482)
Luminance0.6561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD270 #708DEF
analogous
#EF9370 #EFD270 #CDEF70
triadic
#EFD270 #70EFD2 #D270EF
tetradic
#EFD270 #70EF93 #708DEF #EF70CD
square
#EFD270 #70EF93 #708DEF #EF70CD
split-complementary
#EFD270 #70CDEF #9370EF
monochromatic
#CEA417 #E9C139 #EFD270 #F5E3A7 #FBF5DE

Accessibility & contrast

On white

1.49
#EFD270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#EFD270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD270
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD270#FFFFFF#000000##000000
##EFD2701.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF67
Deuteranopia (green-blind)
#ECD774
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #efd270;
/* rgb */ color: rgb(239, 210, 112);
/* oklch */ color: oklch(86.8% 0.122 93.2);
Tailwind
colors: {
  custom: {
    50: '#f7df9b',
    500: '#efd270',
    950: '#000000',
  },
}
SCSS
$custom: #efd270;
$custom-light: #f7df9b;
$custom-dark: #000000;
JSON
{
  "hex": "#efd270",
  "rgb": {
    "r": 239,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 46.299,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8684,
    "c": 0.12232,
    "h": 93.2
  },
  "luminance": 0.65614
}

Semantic roles & 50–950 ramp

primary
#EFD270
secondary
#3B5CC8
accent
#39DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD270

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

Preview Lab → · Contrast checker → · Palette generator →

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