#DAB237#DAB237

#DAB237 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.9% C 0.142 H 90.0°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#DAB237
RGBrgb(218, 178, 55)
HSLhsl(45, 69%, 54%)
HSVhsv(45, 75%, 85%)
CMYKcmyk(0%, 18.3%, 74.8%, 14.5%)
CIE-LABlab(74.21, 2.39, 64.42)
CIE-LCHlch(74.21, 64.46, 87.87°)
OKLaboklab(77.86% 0 0.1416)
OKLCHoklch(77.86% 0.142 90)
XYZxyz(45.5261, 47.0249, 10.2925)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB237 #375FDA
analogous
#DA6037 #DAB237 #B0DA37
triadic
#DAB237 #37DAB2 #B237DA
tetradic
#DAB237 #37DA60 #375FDA #DA37B0
square
#DAB237 #37DA60 #375FDA #DA37B0
split-complementary
#DAB237 #37B0DA #6037DA
monochromatic
#7F6618 #B38F21 #DAB237 #E4C66B #EDDA9E

Accessibility & contrast

On white

2.02
#DAB237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#DAB237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB237
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB237#FFFFFF#000000##000000
##DAB2371.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B022
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#ECA39A
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dab237;
/* rgb */ color: rgb(218, 178, 55);
/* oklch */ color: oklch(77.9% 0.142 90.0);
Tailwind
colors: {
  custom: {
    50: '#eac876',
    500: '#dab237',
    950: '#000000',
  },
}
SCSS
$custom: #dab237;
$custom-light: #eac876;
$custom-dark: #000000;
JSON
{
  "hex": "#dab237",
  "rgb": {
    "r": 218,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 45.276,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77858,
    "c": 0.1416,
    "h": 90
  },
  "luminance": 0.47022
}

Semantic roles & 50–950 ramp

primary
#DAB237
secondary
#93A5D9
accent
#67EC3C
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB237

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

Preview Lab → · Contrast checker → · Palette generator →

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