#C6B02B#C6B02B

#C6B02B is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.144 H 99.3°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C6B02B
RGBrgb(198, 176, 43)
HSLhsl(51, 64%, 47%)
HSVhsv(51, 78%, 78%)
CMYKcmyk(0%, 11.1%, 78.3%, 22.4%)
CIE-LABlab(71.71, -5.73, 65.54)
CIE-LCHlch(71.71, 65.79, 94.99°)
OKLaboklab(75.42% -0.0232 0.1425)
OKLCHoklch(75.42% 0.144 99.3)
XYZxyz(39.2521, 43.2328, 8.5623)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B02B #2B41C6
analogous
#C6632B #C6B02B #8EC62B
triadic
#C6B02B #2BC6B0 #B02BC6
tetradic
#C6B02B #2BC663 #2B41C6 #C62B8E
square
#C6B02B #2BC663 #2B41C6 #C62B8E
split-complementary
#C6B02B #2B8EC6 #632BC6
monochromatic
#615715 #948320 #C6B02B #DAC754 #E5D787

Accessibility & contrast

On white

2.18
#C6B02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C6B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B02B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B02B#FFFFFF#000000##000000
##C6B02B1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB08
Deuteranopia (green-blind)
#C8B335
Tritanopia (blue-blind)
#D6A297
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c6b02b;
/* rgb */ color: rgb(198, 176, 43);
/* oklch */ color: oklch(75.4% 0.144 99.3);
Tailwind
colors: {
  custom: {
    50: '#dcc770',
    500: '#c6b02b',
    950: '#000000',
  },
}
SCSS
$custom: #c6b02b;
$custom-light: #dcc770;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b02b",
  "rgb": {
    "r": 198,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 51.484,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.14439,
    "h": 99.3
  },
  "luminance": 0.43231
}

Semantic roles & 50–950 ramp

primary
#C6B02B
secondary
#7F8ACE
accent
#58E740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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