#FFED7B#FFED7B

#FFED7B is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.8% C 0.136 H 100.5°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#FFED7B
RGBrgb(255, 237, 123)
HSLhsl(52, 100%, 74%)
HSVhsv(52, 52%, 100%)
CMYKcmyk(0%, 7.1%, 51.8%, 0%)
CIE-LABlab(93.13, -8.14, 56.79)
CIE-LCHlch(93.13, 57.37, 98.15°)
OKLaboklab(93.8% -0.0248 0.1339)
OKLCHoklch(93.8% 0.136 100.5)
XYZxyz(75.1017, 83.2612, 30.8501)
Luminance0.8326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFED7B #7B8DFF
analogous
#FFAB7B #FFED7B #CFFF7B
triadic
#FFED7B #7BFFED #ED7BFF
tetradic
#FFED7B #7BFFAB #7B8DFF #FF7BCF
square
#FFED7B #7BFFAB #7B8DFF #FF7BCF
split-complementary
#FFED7B #7BCFFF #AB7BFF
monochromatic
#FFDC01 #FFE53E #FFED7B #FFF5B8 #FFFBE0

Accessibility & contrast

On white

1.19
#FFED7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#FFED7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFED7B
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFED7B#FFFFFF#000000##000000
##FFED7B1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE771
Deuteranopia (green-blind)
#FFEE80
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffed7b;
/* rgb */ color: rgb(255, 237, 123);
/* oklch */ color: oklch(93.8% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#fff2a4',
    500: '#ffed7b',
    950: '#000000',
  },
}
SCSS
$custom: #ffed7b;
$custom-light: #fff2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffed7b",
  "rgb": {
    "r": 255,
    "g": 237,
    "b": 123
  },
  "hsl": {
    "h": 51.818,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93797,
    "c": 0.13617,
    "h": 100.5
  },
  "luminance": 0.83258
}

Semantic roles & 50–950 ramp

primary
#FFED7B
secondary
#4156DD
accent
#1FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFED7B

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

Preview Lab → · Contrast checker → · Palette generator →

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