#C09E2B#C09E2B

#C09E2B is a light, vivid yellow. Relative luminance 0.358; OKLCH L 71.1% C 0.132 H 91.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#C09E2B
RGBrgb(192, 158, 43)
HSLhsl(46, 63%, 46%)
HSVhsv(46, 78%, 75%)
CMYKcmyk(0%, 17.7%, 77.6%, 24.7%)
CIE-LABlab(66.39, 1.18, 60.48)
CIE-LCHlch(66.39, 60.49, 88.88°)
OKLaboklab(71.08% -0.0033 0.1319)
OKLCHoklch(71.08% 0.132 91.4)
XYZxyz(34.4031, 35.8368, 7.3902)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C09E2B #2B4DC0
analogous
#C0542B #C09E2B #97C02B
triadic
#C09E2B #2BC09E #9E2BC0
tetradic
#C09E2B #2BC054 #2B4DC0 #C02B97
square
#C09E2B #2BC054 #2B4DC0 #C02B97
split-complementary
#C09E2B #2B97C0 #542BC0
monochromatic
#5C4C15 #8E7520 #C09E2B #D8B950 #E3CD82

Accessibility & contrast

On white

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

On black

8.17
#C09E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C09E2B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C09E2B#FFFFFF#000000##000000
##C09E2B1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c09e2b;
/* rgb */ color: rgb(192, 158, 43);
/* oklch */ color: oklch(71.1% 0.132 91.4);
Tailwind
colors: {
  custom: {
    50: '#d7ba6e',
    500: '#c09e2b',
    950: '#000000',
  },
}
SCSS
$custom: #c09e2b;
$custom-light: #d7ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c09e2b",
  "rgb": {
    "r": 192,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 46.309,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71081,
    "c": 0.13197,
    "h": 91.4
  },
  "luminance": 0.35835
}

Semantic roles & 50–950 ramp

primary
#C09E2B
secondary
#7B8DCC
accent
#67E641
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #C09E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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