#C09E31#C09E31

#C09E31 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.1% C 0.129 H 90.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C09E31
RGBrgb(192, 158, 49)
HSLhsl(46, 59%, 47%)
HSVhsv(46, 74%, 75%)
CMYKcmyk(0%, 17.7%, 74.5%, 24.7%)
CIE-LABlab(66.43, 1.43, 58.31)
CIE-LCHlch(66.43, 58.33, 88.59°)
OKLaboklab(71.12% -0.0019 0.1285)
OKLCHoklch(71.12% 0.129 90.9)
XYZxyz(34.5214, 35.8841, 8.0132)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C09E31 #3153C0
analogous
#C05631 #C09E31 #9BC031
triadic
#C09E31 #31C09E #9E31C0
tetradic
#C09E31 #31C056 #3153C0 #C0319B
square
#C09E31 #31C056 #3153C0 #C0319B
split-complementary
#C09E31 #319BC0 #5631C0
monochromatic
#5E4E18 #8F7625 #C09E31 #D5B759 #E1CD8A

Accessibility & contrast

On white

2.57
#C09E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C09E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C09E31
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C09E31#FFFFFF#000000##000000
##C09E311.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1F
Deuteranopia (green-blind)
#B8A637
Tritanopia (blue-blind)
#D09189
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c09e31;
/* rgb */ color: rgb(192, 158, 49);
/* oklch */ color: oklch(71.1% 0.129 90.9);
Tailwind
colors: {
  custom: {
    50: '#d7ba71',
    500: '#c09e31',
    950: '#000000',
  },
}
SCSS
$custom: #c09e31;
$custom-light: #d7ba71;
$custom-dark: #000000;
JSON
{
  "hex": "#c09e31",
  "rgb": {
    "r": 192,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 45.734,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71121,
    "c": 0.12855,
    "h": 90.9
  },
  "luminance": 0.35882
}

Semantic roles & 50–950 ramp

primary
#C09E31
secondary
#8293CB
accent
#6BE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C09E31

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

Preview Lab → · Contrast checker → · Palette generator →

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