#C09D31#C09D31

#C09D31 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.9% C 0.128 H 90.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C09D31
RGBrgb(192, 157, 49)
HSLhsl(45, 59%, 47%)
HSVhsv(45, 74%, 75%)
CMYKcmyk(0%, 18.2%, 74.5%, 24.7%)
CIE-LABlab(66.17, 1.97, 58.06)
CIE-LCHlch(66.17, 58.09, 88.05°)
OKLaboklab(70.91% -0.0004 0.128)
OKLCHoklch(70.91% 0.128 90.2)
XYZxyz(34.3516, 35.5443, 7.9566)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C09D31 #3154C0
analogous
#C05631 #C09D31 #9BC031
triadic
#C09D31 #31C09D #9D31C0
tetradic
#C09D31 #31C056 #3154C0 #C0319B
square
#C09D31 #31C056 #3154C0 #C0319B
split-complementary
#C09D31 #319BC0 #5631C0
monochromatic
#5E4D18 #8F7525 #C09D31 #D5B759 #E1CC8A

Accessibility & contrast

On white

2.59
#C09D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C09D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C09D31
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C09D31#FFFFFF#000000##000000
##C09D311.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#D09088
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c09d31;
/* rgb */ color: rgb(192, 157, 49);
/* oklch */ color: oklch(70.9% 0.128 90.2);
Tailwind
colors: {
  custom: {
    50: '#d7b971',
    500: '#c09d31',
    950: '#000000',
  },
}
SCSS
$custom: #c09d31;
$custom-light: #d7b971;
$custom-dark: #000000;
JSON
{
  "hex": "#c09d31",
  "rgb": {
    "r": 192,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 45.315,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70915,
    "c": 0.128,
    "h": 90.2
  },
  "luminance": 0.35542
}

Semantic roles & 50–950 ramp

primary
#C09D31
secondary
#8294CB
accent
#6CE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C09D31

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

Preview Lab → · Contrast checker → · Palette generator →

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