#C8B35F#C8B35F

#C8B35F is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.107 H 95.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#C8B35F
RGBrgb(200, 179, 95)
HSLhsl(48, 49%, 58%)
HSVhsv(48, 53%, 78%)
CMYKcmyk(0%, 10.5%, 52.5%, 21.6%)
CIE-LABlab(73.12, -3.28, 45.20)
CIE-LCHlch(73.12, 45.32, 94.15°)
OKLaboklab(76.72% -0.0105 0.1069)
OKLCHoklch(76.72% 0.107 95.6)
XYZxyz(42.0065, 45.3476, 17.3645)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B35F #5F74C8
analogous
#C87E5F #C8B35F #A8C85F
triadic
#C8B35F #5FC8B3 #B35FC8
tetradic
#C8B35F #5FC87E #5F74C8 #C85FA8
square
#C8B35F #5FC87E #5F74C8 #C85FA8
split-complementary
#C8B35F #5FA8C8 #7E5FC8
monochromatic
#80702C #AE973C #C8B35F #D8C98D #E7DEBA

Accessibility & contrast

On white

2.09
#C8B35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#C8B35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B35F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B35F#FFFFFF#000000##000000
##C8B35F1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B058
Deuteranopia (green-blind)
#C7B662
Tritanopia (blue-blind)
#D6A8A0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b35f;
/* rgb */ color: rgb(200, 179, 95);
/* oklch */ color: oklch(76.7% 0.107 95.6);
Tailwind
colors: {
  custom: {
    50: '#dbc98e',
    500: '#c8b35f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b35f;
$custom-light: #dbc98e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b35f",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 95
  },
  "hsl": {
    "h": 48,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76719,
    "c": 0.10745,
    "h": 95.6
  },
  "luminance": 0.45346
}

Semantic roles & 50–950 ramp

primary
#C8B35F
secondary
#ACB5D6
accent
#6BD84F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B35F

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

Preview Lab → · Contrast checker → · Palette generator →

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