#CFB358#CFB358

#CFB358 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.3% C 0.115 H 92.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CFB358
RGBrgb(207, 179, 88)
HSLhsl(46, 55%, 58%)
HSVhsv(46, 57%, 81%)
CMYKcmyk(0%, 13.5%, 57.5%, 18.8%)
CIE-LABlab(73.68, -0.91, 49.41)
CIE-LCHlch(73.68, 49.42, 91.05°)
OKLaboklab(77.29% -0.0049 0.1152)
OKLCHoklch(77.29% 0.115 92.4)
XYZxyz(43.6155, 46.2123, 15.8531)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB358 #5874CF
analogous
#CF7758 #CFB358 #B0CF58
triadic
#CFB358 #58CFB3 #B358CF
tetradic
#CFB358 #58CF77 #5874CF #CF58B0
square
#CFB358 #58CF77 #5874CF #CF58B0
split-complementary
#CFB358 #58B0CF #7758CF
monochromatic
#867027 #B69734 #CFB358 #DDC988 #EADEB7

Accessibility & contrast

On white

2.05
#CFB358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CFB358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB358
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB358#FFFFFF#000000##000000
##CFB3581.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04F
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#DEA79E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb358;
/* rgb */ color: rgb(207, 179, 88);
/* oklch */ color: oklch(77.3% 0.115 92.4);
Tailwind
colors: {
  custom: {
    50: '#e0c98a',
    500: '#cfb358',
    950: '#000000',
  },
}
SCSS
$custom: #cfb358;
$custom-light: #e0c98a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb358",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 88
  },
  "hsl": {
    "h": 45.882,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77289,
    "c": 0.11533,
    "h": 92.4
  },
  "luminance": 0.4621
}

Semantic roles & 50–950 ramp

primary
#CFB358
secondary
#AAB5D9
accent
#6CDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB358

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

Preview Lab → · Contrast checker → · Palette generator →

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