#C09F38#C09F38

#C09F38 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.4% C 0.125 H 90.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#C09F38
RGBrgb(192, 159, 56)
HSLhsl(45, 55%, 49%)
HSVhsv(45, 71%, 75%)
CMYKcmyk(0%, 17.2%, 70.8%, 24.7%)
CIE-LABlab(66.74, 1.23, 55.83)
CIE-LCHlch(66.74, 55.84, 88.73°)
OKLaboklab(71.38% -0.0017 0.1246)
OKLCHoklch(71.38% 0.125 90.8)
XYZxyz(34.8521, 36.2904, 8.9096)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C09F38 #3859C0
analogous
#C05B38 #C09F38 #9DC038
triadic
#C09F38 #38C09F #9F38C0
tetradic
#C09F38 #38C05B #3859C0 #C0389D
square
#C09F38 #38C05B #3859C0 #C0389D
split-complementary
#C09F38 #389DC0 #5B38C0
monochromatic
#61511C #91782A #C09F38 #D2B764 #DFCD93

Accessibility & contrast

On white

2.54
#C09F38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#C09F38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C09F38
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C09F38#FFFFFF#000000##000000
##C09F381.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D2A
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#D0928A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c09f38;
/* rgb */ color: rgb(192, 159, 56);
/* oklch */ color: oklch(71.4% 0.125 90.8);
Tailwind
colors: {
  custom: {
    50: '#d7bb75',
    500: '#c09f38',
    950: '#000000',
  },
}
SCSS
$custom: #c09f38;
$custom-light: #d7bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c09f38",
  "rgb": {
    "r": 192,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 45.441,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71381,
    "c": 0.12463,
    "h": 90.8
  },
  "luminance": 0.36288
}

Semantic roles & 50–950 ramp

primary
#C09F38
secondary
#8999CB
accent
#6EDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #C09F38

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

Preview Lab → · Contrast checker → · Palette generator →

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