#EDE397#EDE397

#EDE397 is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.7% C 0.097 H 101.7°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#EDE397
RGBrgb(237, 227, 151)
HSLhsl(53, 70%, 76%)
HSVhsv(53, 36%, 93%)
CMYKcmyk(0%, 4.2%, 36.3%, 7.1%)
CIE-LABlab(89.48, -7.49, 38.38)
CIE-LCHlch(89.48, 39.10, 101.05°)
OKLaboklab(90.67% -0.0195 0.0946)
OKLCHoklch(90.67% 0.097 101.7)
XYZxyz(67.9811, 75.1788, 40.2020)
Luminance0.7518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE397 #97A1ED
analogous
#EDB897 #EDE397 #CCED97
triadic
#EDE397 #97EDE3 #E397ED
tetradic
#EDE397 #97EDB8 #97A1ED #ED97CC
square
#EDE397 #97EDB8 #97A1ED #ED97CC
split-complementary
#EDE397 #97CCED #B897ED
monochromatic
#DBC72F #E4D563 #EDE397 #F6F1CB #FAF8E5

Accessibility & contrast

On white

1.31
#EDE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#EDE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE397
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE397#FFFFFF#000000##000000
##EDE3971.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#F4E39A
Tritanopia (blue-blind)
#F9D9D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ede397;
/* rgb */ color: rgb(237, 227, 151);
/* oklch */ color: oklch(90.7% 0.097 101.7);
Tailwind
colors: {
  custom: {
    50: '#f4ebb6',
    500: '#ede397',
    950: '#000000',
  },
}
SCSS
$custom: #ede397;
$custom-light: #f4ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ede397",
  "rgb": {
    "r": 237,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 53.023,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90667,
    "c": 0.09656,
    "h": 101.7
  },
  "luminance": 0.75177
}

Semantic roles & 50–950 ramp

primary
#EDE397
secondary
#5F6CC9
accent
#29D313
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EDE397

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

Preview Lab → · Contrast checker → · Palette generator →

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