#C6B038#C6B038

#C6B038 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.137 H 98.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C6B038
RGBrgb(198, 176, 56)
HSLhsl(51, 56%, 50%)
HSVhsv(51, 72%, 78%)
CMYKcmyk(0%, 11.1%, 71.7%, 22.4%)
CIE-LABlab(71.79, -5.18, 61.05)
CIE-LCHlch(71.79, 61.27, 94.85°)
OKLaboklab(75.51% -0.0204 0.1354)
OKLCHoklch(75.51% 0.137 98.5)
XYZxyz(39.5297, 43.3439, 10.0247)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B038 #384EC6
analogous
#C66938 #C6B038 #95C638
triadic
#C6B038 #38C6B0 #B038C6
tetradic
#C6B038 #38C669 #384EC6 #C63895
square
#C6B038 #38C669 #384EC6 #C63895
split-complementary
#C6B038 #3895C6 #6938C6
monochromatic
#675B1D #96862B #C6B038 #D4C367 #E2D697

Accessibility & contrast

On white

2.17
#C6B038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C6B038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B038
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B038#FFFFFF#000000##000000
##C6B0381.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC25
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#D5A398
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c6b038;
/* rgb */ color: rgb(198, 176, 56);
/* oklch */ color: oklch(75.5% 0.137 98.5);
Tailwind
colors: {
  custom: {
    50: '#dbc776',
    500: '#c6b038',
    950: '#000000',
  },
}
SCSS
$custom: #c6b038;
$custom-light: #dbc776;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b038",
  "rgb": {
    "r": 198,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 50.704,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.13696,
    "h": 98.5
  },
  "luminance": 0.43342
}

Semantic roles & 50–950 ramp

primary
#C6B038
secondary
#8D97CD
accent
#60DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C6B038

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

Preview Lab → · Contrast checker → · Palette generator →

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